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