Diffstat (limited to 'noncore/settings/networksettings/wlan/wlanmodule.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/wlan/wlanmodule.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/wlan/wlanmodule.h b/noncore/settings/networksettings/wlan/wlanmodule.h new file mode 100644 index 0000000..1fbf6a9 --- a/dev/null +++ b/noncore/settings/networksettings/wlan/wlanmodule.h | |||
@@ -0,0 +1,38 @@ | |||
1 | #ifndef WLAN_MODULE_H | ||
2 | #define WLAN_MODULE_H | ||
3 | |||
4 | #include "module.h" | ||
5 | |||
6 | class WLANModule : Module{ | ||
7 | |||
8 | signals: | ||
9 | void updateInterface(Interface *i); | ||
10 | |||
11 | public: | ||
12 | WLANModule(); | ||
13 | |||
14 | virtual bool isOwner(Interface *); | ||
15 | virtual QWidget *configure(QTabWidget **tabWidget); | ||
16 | virtual QWidget *information(QTabWidget **tabWidget); | ||
17 | virtual QList<Interface> getInterfaces(); | ||
18 | virtual QMap<QString, QString> possibleNewInterfaces(); | ||
19 | virtual Interface *addNewInterface(QString name); | ||
20 | virtual bool remove(Interface* i); | ||
21 | virtual QString getPixmapName(Interface* i); | ||
22 | |||
23 | private: | ||
24 | QList<Interface> list; | ||
25 | |||
26 | }; | ||
27 | |||
28 | extern "C" | ||
29 | { | ||
30 | void* create_plugin() { | ||
31 | return new WLANModule(); | ||
32 | } | ||
33 | }; | ||
34 | |||
35 | #endif | ||
36 | |||
37 | // wlanmodule.h | ||
38 | |||