author | kergoth <kergoth> | 2003-04-14 02:11:00 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2003-04-14 02:11:00 (UTC) |
commit | ffbdd4fe71b0b8cfee3cef57b24ebae4bb075621 (patch) (unidiff) | |
tree | 8f1c25faf57cc741ddaaa4b5cbf20cfff843f134 /noncore/settings/networksettings/interfaces/interfacesetupimp.h | |
parent | ef69f1d1ca947a0b972e3f8d635883ae7ef0ae23 (diff) | |
download | opie-ffbdd4fe71b0b8cfee3cef57b24ebae4bb075621.zip opie-ffbdd4fe71b0b8cfee3cef57b24ebae4bb075621.tar.gz opie-ffbdd4fe71b0b8cfee3cef57b24ebae4bb075621.tar.bz2 |
Add a constructor to InterfaceSetupImp which lets me pass in a pointer to
an already existing Interfaces object, so that it will play nice with a
wireless module that also uses Interfaces.
Diffstat (limited to 'noncore/settings/networksettings/interfaces/interfacesetupimp.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/interfaces/interfacesetupimp.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/noncore/settings/networksettings/interfaces/interfacesetupimp.h b/noncore/settings/networksettings/interfaces/interfacesetupimp.h index 9ec526c..c4ace77 100644 --- a/noncore/settings/networksettings/interfaces/interfacesetupimp.h +++ b/noncore/settings/networksettings/interfaces/interfacesetupimp.h | |||
@@ -11,7 +11,9 @@ class InterfaceSetupImp : public InterfaceSetup { | |||
11 | Q_OBJECT | 11 | Q_OBJECT |
12 | 12 | ||
13 | public: | 13 | public: |
14 | InterfaceSetupImp( QWidget* parent = 0, const char* name = 0, Interface *i=0, WFlags fl = 0); | 14 | InterfaceSetupImp( QWidget* parent = 0, const char* name = 0, Interface *i = 0, WFlags fl = 0); |
15 | InterfaceSetupImp( QWidget* parent = 0, const char* name = 0, Interface *i = 0, Interfaces *j = 0, WFlags fl = 0); | ||
16 | ~InterfaceSetupImp(); | ||
15 | bool saveChanges(); | 17 | bool saveChanges(); |
16 | 18 | ||
17 | public slots: | 19 | public slots: |
@@ -19,8 +21,10 @@ public slots: | |||
19 | bool saveSettings(); | 21 | bool saveSettings(); |
20 | 22 | ||
21 | private: | 23 | private: |
22 | Interfaces interfaces; | 24 | Interfaces *interfaces; |
23 | Interface *interface; | 25 | Interface *interface; |
26 | |||
27 | bool delInterfaces; | ||
24 | }; | 28 | }; |
25 | 29 | ||
26 | 30 | ||