Diffstat (limited to 'noncore/settings/networksettings/interfaces/interfacesetupimp.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/interfaces/interfacesetupimp.h | 12 |
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 | ||
8 | class Interface; | 8 | class 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 | */ | ||
10 | class InterfaceSetupImp : public InterfaceSetup { | 16 | class InterfaceSetupImp : public InterfaceSetup { |
11 | Q_OBJECT | 17 | Q_OBJECT |
12 | 18 | ||
13 | public: | 19 | public: |
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 | ||
18 | public slots: | 24 | public 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 | ||
32 | class InterfaceSetupImpDialog : public QDialog { | 38 | class InterfaceSetupImpDialog : public QDialog { |
33 | Q_OBJECT | 39 | Q_OBJECT |
34 | 40 | ||
35 | public: | 41 | public: |
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 ); |