diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-12-05 14:47:17 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-12-05 16:05:55 +0000 |
commit | 2b04cfa242436b2227600224450eb6fd75a2db1a (patch) | |
tree | e4273e8c81566a655745eaed1bbe6617d48961e1 /svx/source/inc/datanavi.hxx | |
parent | 9f6a44a216ae79bc418946c50862346652b20c0b (diff) |
convert add namespace dialog to .ui
Change-Id: I3636da91d39b2759dca72f30cc7b086b6f9cbb16
Diffstat (limited to 'svx/source/inc/datanavi.hxx')
-rw-r--r-- | svx/source/inc/datanavi.hxx | 32 |
1 files changed, 12 insertions, 20 deletions
diff --git a/svx/source/inc/datanavi.hxx b/svx/source/inc/datanavi.hxx index 962d9363d329..2015fcb73253 100644 --- a/svx/source/inc/datanavi.hxx +++ b/svx/source/inc/datanavi.hxx @@ -440,34 +440,26 @@ namespace svxform class ManageNamespaceDialog : public ModalDialog { private: - FixedText m_aPrefixFT; - Edit m_aPrefixED; - FixedText m_aUrlFT; - Edit m_aUrlED; - FixedLine m_aButtonsFL; - OKButton m_aOKBtn; - CancelButton m_aEscBtn; - HelpButton m_aHelpBtn; + Edit* m_pPrefixED; + Edit* m_pUrlED; + OKButton* m_pOKBtn; AddConditionDialog* m_pConditionDlg; DECL_LINK(OKHdl, void *); public: - ManageNamespaceDialog( Window* pParent, AddConditionDialog* _pCondDlg, bool _bIsEdit ); - ~ManageNamespaceDialog(); - - inline void SetNamespace( const OUString& _rPrefix, const OUString& _rURL ); - inline OUString GetPrefix() const { return m_aPrefixED.GetText(); } - inline OUString GetURL() const { return m_aUrlED.GetText(); } + ManageNamespaceDialog(Window* pParent, AddConditionDialog* _pCondDlg, bool bIsEdit); + + void SetNamespace(const OUString& _rPrefix, const OUString& _rURL) + { + m_pPrefixED->SetText( _rPrefix ); + m_pUrlED->SetText( _rURL ); + } + OUString GetPrefix() const { return m_pPrefixED->GetText(); } + OUString GetURL() const { return m_pUrlED->GetText(); } }; - void ManageNamespaceDialog::SetNamespace( const OUString& _rPrefix, const OUString& _rURL ) - { - m_aPrefixED.SetText( _rPrefix ); - m_aUrlED.SetText( _rURL ); - } - //======================================================================== class AddSubmissionDialog : public ModalDialog { |