diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-05-13 10:03:39 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-05-13 15:00:23 +0200 |
commit | 50e58a9e93424e99fa95234ab5cb07c4db9b580d (patch) | |
tree | d599013bfaf39743cf024369829ec891f1c77120 /include/vcl/toolkit/field.hxx | |
parent | 562d1ba1fff07183dbae24437977e204cbc6471d (diff) |
move LongCurrencyBox to be toolkit only
Change-Id: I70ac2d521e5a6178483e4d44f2c63f826ddea168
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94106
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl/toolkit/field.hxx')
-rw-r--r-- | include/vcl/toolkit/field.hxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/vcl/toolkit/field.hxx b/include/vcl/toolkit/field.hxx index 76c998b22c11..ce3f1277e862 100644 --- a/include/vcl/toolkit/field.hxx +++ b/include/vcl/toolkit/field.hxx @@ -27,6 +27,7 @@ #include <config_options.h> #include <vcl/combobox.hxx> #include <vcl/field.hxx> +#include <vcl/longcurr.hxx> class VCL_DLLPUBLIC MetricFormatter : public NumericFormatter { @@ -238,6 +239,17 @@ public: virtual void dispose() override; }; +class UNLESS_MERGELIBS(VCL_DLLPUBLIC) LongCurrencyBox final : public ComboBox, public LongCurrencyFormatter +{ +public: + LongCurrencyBox( vcl::Window* pParent, WinBits nWinStyle ); + + virtual bool EventNotify( NotifyEvent& rNEvt ) override; + + void Modify() override; + void ReformatAll() override; +}; + #endif // INCLUDED_VCL_FIELD_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |