Diffstat (limited to 'noncore/settings/networksettings/wlan/wlanimp2.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/wlan/wlanimp2.h | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/noncore/settings/networksettings/wlan/wlanimp2.h b/noncore/settings/networksettings/wlan/wlanimp2.h index 992d09a..a777203 100644 --- a/noncore/settings/networksettings/wlan/wlanimp2.h +++ b/noncore/settings/networksettings/wlan/wlanimp2.h | |||
@@ -4,12 +4,20 @@ | |||
4 | #include "wlan.h" | 4 | #include "wlan.h" |
5 | #include "interfaces.h" | 5 | #include "interfaces.h" |
6 | #include <qstringlist.h> | 6 | #include <qstringlist.h> |
7 | #include <opie2/onetutils.h> | ||
7 | 8 | ||
8 | class InterfaceSetupImp; | 9 | class InterfaceSetupImp; |
9 | class Interface; | 10 | class Interface; |
10 | class Config; | 11 | class Config; |
12 | class OPacket; | ||
13 | class QListViewItem; | ||
11 | 14 | ||
12 | class WLANImp : public WLAN { | 15 | const int col_mode= 0; |
16 | const int col_ssid = 1; | ||
17 | const int col_chn = 2; | ||
18 | const int col_mac = 3; | ||
19 | |||
20 | class WLANImp : public WLAN { | ||
13 | Q_OBJECT | 21 | Q_OBJECT |
14 | 22 | ||
15 | public: | 23 | public: |
@@ -17,6 +25,10 @@ public: | |||
17 | ~WLANImp(); | 25 | ~WLANImp(); |
18 | void setProfile(const QString &profile); | 26 | void setProfile(const QString &profile); |
19 | 27 | ||
28 | public slots: | ||
29 | void rescanNeighbourhood(); | ||
30 | void selectNetwork( QListViewItem* ); | ||
31 | |||
20 | protected: | 32 | protected: |
21 | void accept(); | 33 | void accept(); |
22 | 34 | ||
@@ -25,7 +37,10 @@ private: | |||
25 | void writeOpts(); | 37 | void writeOpts(); |
26 | 38 | ||
27 | void parseKeyStr(QString keystr); | 39 | void parseKeyStr(QString keystr); |
28 | 40 | ||
41 | void handlePacket( OPacket* ); | ||
42 | void displayFoundNetwork( const QString& mode, int channel, const QString& ssid, const OMacAddress& mac ); | ||
43 | |||
29 | InterfaceSetupImp *interfaceSetup; | 44 | InterfaceSetupImp *interfaceSetup; |
30 | Interfaces *interfaces; | 45 | Interfaces *interfaces; |
31 | Interface *interface; | 46 | Interface *interface; |
@@ -34,4 +49,4 @@ private: | |||
34 | }; | 49 | }; |
35 | 50 | ||
36 | #endif | 51 | #endif |
37 | 52 | ||