Diffstat (limited to 'noncore/net/networksetup/wlan/wlanimp.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/networksetup/wlan/wlanimp.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/noncore/net/networksetup/wlan/wlanimp.h b/noncore/net/networksetup/wlan/wlanimp.h index faa1674..f88e550 100644 --- a/noncore/net/networksetup/wlan/wlanimp.h +++ b/noncore/net/networksetup/wlan/wlanimp.h | |||
@@ -1,32 +1,31 @@ | |||
1 | #ifndef WLANIMP_H | 1 | #ifndef WLANIMP_H |
2 | #define WLANIMP_H | 2 | #define WLANIMP_H |
3 | 3 | ||
4 | #include "wlan.h" | 4 | #include "wlan.h" |
5 | #include <qstringlist.h> | ||
5 | 6 | ||
6 | class InterfaceSetupImp; | 7 | class InterfaceSetupImp; |
7 | class Interface; | 8 | class Interface; |
8 | class Config; | 9 | class Config; |
9 | 10 | ||
10 | class WLANImp : public WLAN { | 11 | class WLANImp : public WLAN { |
11 | Q_OBJECT | 12 | Q_OBJECT |
12 | 13 | ||
13 | public: | 14 | public: |
14 | WLANImp( QWidget* parent = 0, const char* name = 0, Interface *i=0, bool modal = FALSE, WFlags fl = 0 ); | 15 | WLANImp( QWidget* parent = 0, const char* name = 0, Interface *i=0, bool modal = FALSE, WFlags fl = 0 ); |
15 | ~WLANImp( ); | ||
16 | void setProfile(QString &profile); | 16 | void setProfile(QString &profile); |
17 | 17 | ||
18 | protected: | 18 | protected: |
19 | void accept(); | 19 | void accept(); |
20 | 20 | ||
21 | private: | 21 | private: |
22 | void readConfig(); | 22 | void parseSettingFile(); |
23 | bool writeConfig(); | 23 | void changeAndSaveSettingFile(); |
24 | bool writeWirelessOpts( QString scheme = "*" ); | 24 | |
25 | bool writeWlanngOpts( QString scheme = "*" ); | ||
26 | Config* config; | ||
27 | InterfaceSetupImp *interfaceSetup; | 25 | InterfaceSetupImp *interfaceSetup; |
28 | 26 | QStringList settingsFileText; | |
27 | QString currentProfile; | ||
29 | }; | 28 | }; |
30 | 29 | ||
31 | #endif | 30 | #endif |
32 | 31 | ||