Index: ossp-pkg/as/as-gui/as_panel.cpp RCS File: /v/ossp/cvs/ossp-pkg/as/as-gui/as_panel.cpp,v rcsdiff -q -kk '-r1.3' '-r1.4' -u '/v/ossp/cvs/ossp-pkg/as/as-gui/as_panel.cpp,v' 2>/dev/null --- as_panel.cpp 2003/02/11 14:19:57 1.3 +++ as_panel.cpp 2003/02/12 16:31:43 1.4 @@ -31,21 +31,6 @@ #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - #include "as_panel.h" #include "as_generic.h" #include "as_const.h" @@ -237,7 +222,7 @@ { this->setCaption(tr("AS Applicate Preferences", "Personal preferences are persistent across sessions")); - m_pTabselect->changeTab(m_pBoolpage, tr("Styles")); + m_pTabselect->changeTab(m_pBoolpage, tr("General")); m_pTabselect->changeTab(m_pGeneralpage, tr("Paths")); m_pTabselect->changeTab(m_pRemotepage, tr("Remote")); @@ -281,7 +266,7 @@ // QToolTip::add(m_pStylegroup, tr("Tooltip for Stylebutton", "Comment for toolTip Stylebutton")); // QWhatsThis::add(m_pStylegroup, tr("Whatsthis for Stylebutton", "Comment for whatsThis Stylebuttons")); - m_pSwitchgroup->setTitle(tr("Yes or no options", "Comment for Switchbox")); + m_pSwitchgroup->setTitle(tr("Other options", "Comment for Switchbox")); // QToolTip::add(m_pSwitchgroup, tr("Tooltip for Switchbox", "Comment for toolTip Switchbox")); // QWhatsThis::add(m_pSwitchgroup, tr("Whatsthis for Switchbutton", "Comment for whatsThis Switchbox")); } Index: ossp-pkg/as/as-gui/as_panel.h RCS File: /v/ossp/cvs/ossp-pkg/as/as-gui/as_panel.h,v rcsdiff -q -kk '-r1.3' '-r1.4' -u '/v/ossp/cvs/ossp-pkg/as/as-gui/as_panel.h,v' 2>/dev/null --- as_panel.h 2003/02/11 14:19:57 1.3 +++ as_panel.h 2003/02/12 16:31:43 1.4 @@ -35,21 +35,21 @@ #include #include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -// Forward class definitions to avoid including qt headers, -// rather include them in the implementation file -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QButtonGroup; -class QLabel; -class QLineEdit; -class QPushButton; -class QRadioButton; -class QCheckBox; -class QGroupBox; -class QTabWidget; -class QWidget; class Prefpanel : public QDialog { @@ -85,6 +85,23 @@ QButtonGroup *m_pStylegroup, *m_pSwitchgroup; QCheckBox *m_pBackupcheck, *m_pExtendcheck; +public: + // Accessor get methods + QString getAccounts(void) {return (m_pAcctline->text());}; + QString getEvents(void) {return (m_pEventline->text());}; + QString getUser(void) {return (m_pUserline->text());}; + QString getHome(void) {return (m_pCorbaline->text());}; + QString getCorbahost(void) {return (m_pSoapline->text());}; + QString getSoaphost(void) {return (m_pHomeline->text());}; + + // Accessor set methods + void setAccounts(const QString &Instr) {m_pAcctline->setText(Instr);}; + void setEvents(const QString &Instr) {m_pEventline->setText(Instr);}; + void setUser(const QString &Instr) {m_pUserline->setText(Instr);}; + void setHome(const QString &Instr) {m_pHomeline->setText(Instr);}; + void setCorbahost(const QString &Instr) {m_pCorbaline->setText(Instr);}; + void setSoaphost(const QString &Instr) {m_pSoapline->setText(Instr);}; + protected slots: virtual void textChange(void); void apply(void);