diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-12-16 12:57:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-12-16 12:59:20 +0000 |
commit | 1bb4a66904509faf1954a87e95c7299f5f502580 (patch) | |
tree | d5760f577d425e2d218c459105382fb615278372 /cui/source/inc/cuitbxform.hxx | |
parent | 3b5c3d5a6cbbfd3ecbf30012b834bfca9b3953c2 (diff) |
convert goto record dialog to .ui
Change-Id: I2bc2c5837556da73cc60e0e5b906ddb4f01844d9
Diffstat (limited to 'cui/source/inc/cuitbxform.hxx')
-rw-r--r-- | cui/source/inc/cuitbxform.hxx | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/cui/source/inc/cuitbxform.hxx b/cui/source/inc/cuitbxform.hxx index 044285bc030a..389690df409d 100644 --- a/cui/source/inc/cuitbxform.hxx +++ b/cui/source/inc/cuitbxform.hxx @@ -20,26 +20,22 @@ #define INCLUDED_CUI_SOURCE_INC_CUITBXFORM_HXX #include <sfx2/tbxctrl.hxx> -#include <vcl/field.hxx> -#include <vcl/dialog.hxx> - #include <vcl/button.hxx> +#include <vcl/dialog.hxx> +#include <vcl/field.hxx> //======================================================================== class FmInputRecordNoDialog : public ModalDialog { public: - FixedText m_aLabel; - NumericField m_aRecordNo; - OKButton m_aOk; - CancelButton m_aCancel; + NumericField* m_pRecordNo; public: FmInputRecordNoDialog(Window * pParent); - void SetValue(long dNew) { m_aRecordNo.SetValue(dNew); } - long GetValue() const { return static_cast<long>(m_aRecordNo.GetValue()); } + void SetValue(long dNew) { m_pRecordNo->SetValue(dNew); } + long GetValue() const { return static_cast<long>(m_pRecordNo->GetValue()); } }; #endif |