ossp-pkg/as/as-gui/as_panel.h 1.3 -> 1.4
--- 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 <qvariant.h>
#include <qdialog.h>
+#include <qvariant.h>
+#include <qbuttongroup.h>
+#include <qlabel.h>
+#include <qlineedit.h>
+#include <qpushbutton.h>
+#include <qradiobutton.h>
+#include <qcheckbox.h>
+#include <qtabwidget.h>
+#include <qwidget.h>
+#include <qlayout.h>
+#include <qtooltip.h>
+#include <qwhatsthis.h>
+#include <qstylefactory.h>
+#include <qlayout.h>
-// 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);
|
|