summaryrefslogtreecommitdiff
path: root/noncore/net/networksetup/wlan/wlanimp.h
Unidiff
Diffstat (limited to 'noncore/net/networksetup/wlan/wlanimp.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/networksetup/wlan/wlanimp.h13
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
6class InterfaceSetupImp; 7class InterfaceSetupImp;
7class Interface; 8class Interface;
8class Config; 9class Config;
9 10
10class WLANImp : public WLAN { 11class WLANImp : public WLAN {
11 Q_OBJECT 12 Q_OBJECT
12 13
13public: 14public:
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
18protected: 18protected:
19 void accept(); 19 void accept();
20 20
21private: 21private:
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