diff options
author | Philipp Lohmann <pl@openoffice.org> | 2001-06-15 14:30:08 +0000 |
---|---|---|
committer | Philipp Lohmann <pl@openoffice.org> | 2001-06-15 14:30:08 +0000 |
commit | 09afdd5bebe86116df82e6ba3197a06e12892e35 (patch) | |
tree | 710b3b0fe9e0bbf265a55ce45e33006bdb3577c8 /padmin/source/adddlg.hxx | |
parent | #75963#: added ::Miror and ::Rotate methods (diff) | |
download | core-09afdd5bebe86116df82e6ba3197a06e12892e35.tar.gz core-09afdd5bebe86116df82e6ba3197a06e12892e35.zip |
#88520# dialogue redesign
Diffstat (limited to 'padmin/source/adddlg.hxx')
-rw-r--r-- | padmin/source/adddlg.hxx | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/padmin/source/adddlg.hxx b/padmin/source/adddlg.hxx index df2cabd7ebc0..2c613f3806fe 100644 --- a/padmin/source/adddlg.hxx +++ b/padmin/source/adddlg.hxx @@ -2,9 +2,9 @@ * * $RCSfile: adddlg.hxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: pl $ $Date: 2001-05-08 11:56:34 $ + * last change: $Author: pl $ $Date: 2001-06-15 15:30:08 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -132,6 +132,7 @@ class APChooseDriverPage : public APTabPage PushButton m_aRemBtn; String m_aRemStr; + String m_aLastPrinterName; DECL_LINK( ClickBtnHdl, PushButton* ); DECL_LINK( DelPressedHdl, ListBox* ); @@ -158,6 +159,8 @@ public: bool isDefault() { return m_aDefaultBox.IsChecked(); } bool isFaxSwallow() { return m_aFaxSwallowBox.IsChecked(); } + void setText( const String& rText ) { m_aNameEdt.SetText( rText ); } + virtual bool check(); virtual void fill( ::psp::PrinterInfo& rInfo ); }; @@ -189,14 +192,12 @@ public: class APOldPrinterPage : public APTabPage { FixedText m_aOldPrinterTxt; - DelMultiListBox m_aOldPrinterBox; - PushButton m_aRemBtn; - PushButton m_aRestBtn; + MultiListBox m_aOldPrinterBox; + PushButton m_aSelectAllBtn; ::std::list< ::psp::PrinterInfo > m_aOldPrinters; DECL_LINK( ClickBtnHdl, PushButton* ); - DECL_LINK( DelPressedHdl, ListBox* ); public: APOldPrinterPage( Window* pParent ); ~APOldPrinterPage(); @@ -270,11 +271,13 @@ class AddPrinterDialog : public ModalDialog void advance(); void back(); void addPrinter(); + public: AddPrinterDialog( Window* pParent ); ~AddPrinterDialog(); static String uniquePrinterName( const String& rString ); + static String getOldPrinterLocation(); }; } // namespace |