author | benmeyer <benmeyer> | 2002-11-04 16:50:27 (UTC) |
---|---|---|
committer | benmeyer <benmeyer> | 2002-11-04 16:50:27 (UTC) |
commit | b8d6cf8848e68ab1089d7b94281fa205a13c766f (patch) (side-by-side diff) | |
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) (show 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 @@ #define WLANIMP_H #include "wlan.h" +#include <qstringlist.h> class InterfaceSetupImp; class Interface; @@ -12,20 +13,18 @@ class WLANImp : public WLAN { public: WLANImp( QWidget* parent = 0, const char* name = 0, Interface *i=0, bool modal = FALSE, WFlags fl = 0 ); - ~WLANImp( ); void setProfile(QString &profile); protected: void accept(); private: - void readConfig(); - bool writeConfig(); - bool writeWirelessOpts( QString scheme = "*" ); - bool writeWlanngOpts( QString scheme = "*" ); - Config* config; - InterfaceSetupImp *interfaceSetup; + void parseSettingFile(); + void changeAndSaveSettingFile(); + InterfaceSetupImp *interfaceSetup; + QStringList settingsFileText; + QString currentProfile; }; #endif |