diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-12-16 10:27:27 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-12-16 10:41:27 +0000 |
commit | ae22d6388827958cfd89cd702b8c3c41ff9821e5 (patch) | |
tree | 01907f4a0a46162521688835bbbc847f68727e61 /include/svtools | |
parent | 1327020b6723ef988fe4e8399a87ce70e21419d7 (diff) |
convert query folder dialog to .ui
Change-Id: I844b45b4cc9834550d0d187dfdbc69686e512e5d
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/QueryFolderName.hxx | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/include/svtools/QueryFolderName.hxx b/include/svtools/QueryFolderName.hxx index ad9b7c0835ee..6f5381ee0c1c 100644 --- a/include/svtools/QueryFolderName.hxx +++ b/include/svtools/QueryFolderName.hxx @@ -23,6 +23,7 @@ #include <vcl/button.hxx> #include <vcl/edit.hxx> #include <vcl/dialog.hxx> +#include <vcl/layout.hxx> //------------------------------------------------------------------------- namespace svtools { @@ -34,21 +35,17 @@ namespace svtools { class QueryFolderNameDialog : public ModalDialog { private: - FixedText aNameText; - Edit aNameEdit; - FixedLine aNameLine; - OKButton aOKBtn; - CancelButton aCancelBtn; + Edit* m_pNameEdit; + VclFrame* m_pNameLine; + OKButton* m_pOKBtn; DECL_LINK( OKHdl, void * ); DECL_LINK( NameHdl, void * ); public: - QueryFolderNameDialog( Window* _pParent, - const OUString& rTitle, - const OUString& rDefaultText, - OUString* pGroupName = NULL ); - OUString GetName() const { return aNameEdit.GetText(); } + QueryFolderNameDialog(Window* _pParent, const OUString& rTitle, + const OUString& rDefaultText, OUString* pGroupName = NULL); + OUString GetName() const { return m_pNameEdit->GetText(); } }; } |