summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/interfaces/interfacesetupimp.h
Unidiff
Diffstat (limited to 'noncore/settings/networksettings/interfaces/interfacesetupimp.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/interfaces/interfacesetupimp.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/noncore/settings/networksettings/interfaces/interfacesetupimp.h b/noncore/settings/networksettings/interfaces/interfacesetupimp.h
index 172da6a..f38fba5 100644
--- a/noncore/settings/networksettings/interfaces/interfacesetupimp.h
+++ b/noncore/settings/networksettings/interfaces/interfacesetupimp.h
@@ -7,14 +7,20 @@
7 7
8class Interface; 8class Interface;
9 9
10/**
11 * A default implementation for setting up basic
12 * network config. Like DHCP, IP and other information.
13 * You can use it in a tab or in any other way*
14 * On saveChanges() it'll save the changes to Interfaces.
15 */
10class InterfaceSetupImp : public InterfaceSetup { 16class InterfaceSetupImp : public InterfaceSetup {
11 Q_OBJECT 17 Q_OBJECT
12 18
13public: 19public:
14 InterfaceSetupImp( QWidget* parent = 0, const char* name = 0, Interface *i = 0, Interfaces *j = 0, WFlags fl = 0); 20 InterfaceSetupImp( QWidget* parent = 0, const char* name = 0, Interface *i = 0, Interfaces *j = 0, WFlags fl = 0);
15 ~InterfaceSetupImp(); 21 ~InterfaceSetupImp();
16 bool saveChanges(); 22 bool saveChanges();
17 23
18public slots: 24public slots:
19 void setProfile(const QString &profile); 25 void setProfile(const QString &profile);
20 bool saveSettings(); 26 bool saveSettings();
@@ -31,7 +37,7 @@ private:
31 37
32class InterfaceSetupImpDialog : public QDialog { 38class InterfaceSetupImpDialog : public QDialog {
33Q_OBJECT 39Q_OBJECT
34 40
35public: 41public:
36 InterfaceSetupImpDialog(QWidget* parent = 0, const char* name = 0, Interface *i=0, bool modal = false, WFlags fl = 0) : QDialog(parent, name, modal, fl){ 42 InterfaceSetupImpDialog(QWidget* parent = 0, const char* name = 0, Interface *i=0, bool modal = false, WFlags fl = 0) : QDialog(parent, name, modal, fl){
37 QVBoxLayout *InterfaceSetupLayout = new QVBoxLayout( this ); 43 QVBoxLayout *InterfaceSetupLayout = new QVBoxLayout( this );