author | benmeyer <benmeyer> | 2002-11-04 16:50:27 (UTC) |
---|---|---|
committer | benmeyer <benmeyer> | 2002-11-04 16:50:27 (UTC) |
commit | b8d6cf8848e68ab1089d7b94281fa205a13c766f (patch) (unidiff) | |
tree | 0e1ad7879401752385a8ca0c9fb733d28e0748b9 /noncore/settings/networksettings/wlan/wlanimp.h | |
parent | a59b7fd669c53ece7d4eb56eb5b69d8b5f298048 (diff) | |
download | opie-b8d6cf8848e68ab1089d7b94281fa205a13c766f.zip opie-b8d6cf8848e68ab1089d7b94281fa205a13c766f.tar.gz opie-b8d6cf8848e68ab1089d7b94281fa205a13c766f.tar.bz2 |
Removed the Config class. Now parses wireless.opts file directly
Diffstat (limited to 'noncore/settings/networksettings/wlan/wlanimp.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/wlan/wlanimp.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/noncore/settings/networksettings/wlan/wlanimp.h b/noncore/settings/networksettings/wlan/wlanimp.h index faa1674..f88e550 100644 --- a/noncore/settings/networksettings/wlan/wlanimp.h +++ b/noncore/settings/networksettings/wlan/wlanimp.h | |||
@@ -2,6 +2,7 @@ | |||
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; |
@@ -12,20 +13,18 @@ class WLANImp : public WLAN { | |||
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 |