Diffstat (limited to 'noncore/settings/networksettings/wlan/wlanmodule.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/wlan/wlanmodule.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/wlan/wlanmodule.h b/noncore/settings/networksettings/wlan/wlanmodule.h index 3a54de6..a617a90 100644 --- a/noncore/settings/networksettings/wlan/wlanmodule.h +++ b/noncore/settings/networksettings/wlan/wlanmodule.h | |||
@@ -3,33 +3,36 @@ | |||
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 | ~WLANModule(); | 13 | ~WLANModule(); |
14 | 14 | ||
15 | |||
16 | virtual const QString type() {return "wlan";}; | ||
15 | void setProfile(const QString &newProfile); | 17 | void setProfile(const QString &newProfile); |
16 | bool isOwner(Interface *); | 18 | bool isOwner(Interface *); |
17 | QWidget *configure(Interface *i); | 19 | QWidget *configure(Interface *i); |
18 | QWidget *information(Interface *i); | 20 | QWidget *information(Interface *i); |
19 | QList<Interface> getInterfaces(); | 21 | QList<Interface> getInterfaces(); |
20 | void possibleNewInterfaces(QMap<QString, QString> &){}; | 22 | void possibleNewInterfaces(QMap<QString, QString> &){}; |
21 | Interface *addNewInterface(const QString &name); | 23 | Interface *addNewInterface(const QString &name); |
22 | bool remove(Interface* i); | 24 | bool remove(Interface* i); |
23 | QString getPixmapName(Interface* i); | 25 | QString getPixmapName(Interface* i); |
26 | virtual void receive(const QCString&, const QByteArray&); | ||
24 | 27 | ||
25 | private: | 28 | private: |
26 | QList<Interface> list; | 29 | QList<Interface> list; |
27 | QString profile; | 30 | QString profile; |
28 | 31 | ||
29 | }; | 32 | }; |
30 | 33 | ||
31 | extern "C" | 34 | extern "C" |
32 | { | 35 | { |
33 | void* create_plugin() { | 36 | void* create_plugin() { |
34 | return new WLANModule(); | 37 | return new WLANModule(); |
35 | } | 38 | } |