diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-04 16:55:30 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-04 16:58:47 +0000 |
commit | e6f6818b44fe1dbaba815aed31510609ec456bc6 (patch) | |
tree | ec2dfd38dc4b79384bb62186fa72a5c95de277c2 /cui/source/inc/scriptdlg.hxx | |
parent | bb90d11bd892b6114aa2515549f62967428cef48 (diff) |
convert new lib dialog to .ui
Change-Id: I99043f2c259b56a7bfc2e7251f128b692e7d0e7f
Diffstat (limited to 'cui/source/inc/scriptdlg.hxx')
-rw-r--r-- | cui/source/inc/scriptdlg.hxx | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/cui/source/inc/scriptdlg.hxx b/cui/source/inc/scriptdlg.hxx index 0874154b700b..bbf35c0eadb6 100644 --- a/cui/source/inc/scriptdlg.hxx +++ b/cui/source/inc/scriptdlg.hxx @@ -101,23 +101,22 @@ public: class CuiInputDialog : public ModalDialog { private: - FixedText aText; - Edit aEdit; - OKButton aOKButton; - CancelButton aCancelButton; - + Edit* m_pEdit; public: - CuiInputDialog( Window * pParent, sal_uInt16 nMode ); - ~CuiInputDialog(); - - OUString GetObjectName() const { return aEdit.GetText(); } - void SetObjectName( const OUString& rName ) { aEdit.SetText( rName ); aEdit.SetSelection( Selection( 0, rName.getLength() ) );} + CuiInputDialog(Window * pParent, sal_uInt16 nMode); + + OUString GetObjectName() const { return m_pEdit->GetText(); } + void SetObjectName(const OUString& rName) + { + m_pEdit->SetText( rName ); + m_pEdit->SetSelection( Selection( 0, rName.getLength() ) ); + } }; class SFEntry { private: - sal_uInt8 nType; + sal_uInt8 nType; bool loaded; ::com::sun::star::uno::Reference< ::com::sun::star::script::browse::XBrowseNode > nodes; ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > model; |