Diffstat (limited to 'noncore/net/networksetup/wlan/wlanmodule.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/networksetup/wlan/wlanmodule.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/net/networksetup/wlan/wlanmodule.h b/noncore/net/networksetup/wlan/wlanmodule.h index 63f0949..1418ce8 100644 --- a/noncore/net/networksetup/wlan/wlanmodule.h +++ b/noncore/net/networksetup/wlan/wlanmodule.h | |||
@@ -1,40 +1,41 @@ | |||
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 WLANModule : Module{ | 6 | class WLANModule : Module{ |
7 | 7 | ||
8 | signals: | 8 | signals: |
9 | void updateInterface(Interface *i); | 9 | void updateInterface(Interface *i); |
10 | 10 | ||
11 | public: | 11 | public: |
12 | WLANModule(); | 12 | WLANModule(); |
13 | 13 | ~WLANModule(); | |
14 | |||
14 | virtual void setProfile(QString newProfile); | 15 | virtual void setProfile(QString newProfile); |
15 | virtual bool isOwner(Interface *); | 16 | virtual bool isOwner(Interface *); |
16 | virtual QWidget *configure(Interface *i, QTabWidget **tabWidget); | 17 | virtual QWidget *configure(Interface *i, QTabWidget **tabWidget); |
17 | virtual QWidget *information(Interface *i, QTabWidget **tabWidget); | 18 | virtual QWidget *information(Interface *i, QTabWidget **tabWidget); |
18 | virtual QList<Interface> getInterfaces(); | 19 | virtual QList<Interface> getInterfaces(); |
19 | virtual void possibleNewInterfaces(QMap<QString, QString> &list){}; | 20 | virtual void possibleNewInterfaces(QMap<QString, QString> &){}; |
20 | virtual Interface *addNewInterface(QString name); | 21 | virtual Interface *addNewInterface(QString name); |
21 | virtual bool remove(Interface* i); | 22 | virtual bool remove(Interface* i); |
22 | virtual QString getPixmapName(Interface* i); | 23 | virtual QString getPixmapName(Interface* i); |
23 | 24 | ||
24 | private: | 25 | private: |
25 | QList<Interface> list; | 26 | QList<Interface> list; |
26 | QString profile; | 27 | QString profile; |
27 | 28 | ||
28 | }; | 29 | }; |
29 | 30 | ||
30 | extern "C" | 31 | extern "C" |
31 | { | 32 | { |
32 | void* create_plugin() { | 33 | void* create_plugin() { |
33 | return new WLANModule(); | 34 | return new WLANModule(); |
34 | } | 35 | } |
35 | }; | 36 | }; |
36 | 37 | ||
37 | #endif | 38 | #endif |
38 | 39 | ||
39 | // wlanmodule.h | 40 | // wlanmodule.h |
40 | 41 | ||