Diffstat (limited to 'noncore/settings/networksettings/wlan/wlanmodule.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/wlan/wlanmodule.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/noncore/settings/networksettings/wlan/wlanmodule.h b/noncore/settings/networksettings/wlan/wlanmodule.h index 0963137..027ecec 100644 --- a/noncore/settings/networksettings/wlan/wlanmodule.h +++ b/noncore/settings/networksettings/wlan/wlanmodule.h | |||
@@ -1,18 +1,18 @@ | |||
1 | #ifndef WLAN_MODULE_H | 1 | #ifndef WLAN_MODULE_H |
2 | #define WLAN_MODULE_H | 2 | #define WLAN_MODULE_H |
3 | 3 | ||
4 | #include "module.h" | 4 | #include "module.h" |
5 | 5 | ||
6 | //class WlanInfoImp; | 6 | class WLANImp; |
7 | 7 | ||
8 | class WLANModule : Module{ | 8 | class WLANModule : Module{ |
9 | 9 | ||
10 | signals: | 10 | signals: |
11 | void updateInterface(Interface *i); | 11 | void updateInterface(Interface *i); |
12 | 12 | ||
13 | public: | 13 | public: |
14 | WLANModule(); | 14 | WLANModule(); |
15 | ~WLANModule(); | 15 | ~WLANModule(); |
16 | 16 | ||
17 | 17 | ||
18 | virtual const QString type() {return "wlan";}; | 18 | virtual const QString type() {return "wlan";}; |
@@ -20,29 +20,28 @@ public: | |||
20 | bool isOwner(Interface *); | 20 | bool isOwner(Interface *); |
21 | QWidget *configure(Interface *i); | 21 | QWidget *configure(Interface *i); |
22 | QWidget *information(Interface *i); | 22 | QWidget *information(Interface *i); |
23 | QList<Interface> getInterfaces(); | 23 | QList<Interface> getInterfaces(); |
24 | void possibleNewInterfaces(QMap<QString, QString> &){}; | 24 | void possibleNewInterfaces(QMap<QString, QString> &){}; |
25 | Interface *addNewInterface(const QString &name); | 25 | Interface *addNewInterface(const QString &name); |
26 | bool remove(Interface* i); | 26 | bool remove(Interface* i); |
27 | QString getPixmapName(Interface* i); | 27 | QString getPixmapName(Interface* i); |
28 | virtual void receive(const QCString&, const QByteArray&); | 28 | virtual void receive(const QCString&, const QByteArray&); |
29 | 29 | ||
30 | private: | 30 | private: |
31 | QWidget *getInfo(Interface*); | 31 | QWidget *getInfo(Interface*); |
32 | 32 | WLANImp *wlanconfigWiget; | |
33 | QList<Interface> list; | 33 | QList<Interface> list; |
34 | QString profile; | 34 | QString profile; |
35 | // WlanInfoImp *info; | 35 | |
36 | // Interface *iface; | ||
37 | }; | 36 | }; |
38 | 37 | ||
39 | extern "C" | 38 | extern "C" |
40 | { | 39 | { |
41 | void* create_plugin() { | 40 | void* create_plugin() { |
42 | return new WLANModule(); | 41 | return new WLANModule(); |
43 | } | 42 | } |
44 | }; | 43 | }; |
45 | 44 | ||
46 | #endif | 45 | #endif |
47 | 46 | ||
48 | // wlanmodule.h | 47 | // wlanmodule.h |