summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/wlan/wlanimp2.h
Unidiff
Diffstat (limited to 'noncore/settings/networksettings/wlan/wlanimp2.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/wlan/wlanimp2.h21
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
@@ -1,37 +1,52 @@
1#ifndef WLANIMP_H 1#ifndef WLANIMP_H
2#define WLANIMP_H 2#define WLANIMP_H
3 3
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
8class InterfaceSetupImp; 9class InterfaceSetupImp;
9class Interface; 10class Interface;
10class Config; 11class Config;
12class OPacket;
13class QListViewItem;
11 14
12class WLANImp : public WLAN { 15const int col_mode= 0;
16const int col_ssid = 1;
17const int col_chn = 2;
18const int col_mac = 3;
19
20class WLANImp : public WLAN {
13 Q_OBJECT 21 Q_OBJECT
14 22
15public: 23public:
16 WLANImp( QWidget* parent = 0, const char* name = 0, Interface *i=0, bool modal = FALSE, WFlags fl = 0 ); 24 WLANImp( QWidget* parent = 0, const char* name = 0, Interface *i=0, bool modal = FALSE, WFlags fl = 0 );
17 ~WLANImp(); 25 ~WLANImp();
18 void setProfile(const QString &profile); 26 void setProfile(const QString &profile);
19 27
28public slots:
29 void rescanNeighbourhood();
30 void selectNetwork( QListViewItem* );
31
20protected: 32protected:
21 void accept(); 33 void accept();
22 34
23private: 35private:
24 void parseOpts(); 36 void parseOpts();
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;
32 47
33 QString currentProfile; 48 QString currentProfile;
34}; 49};
35 50
36#endif 51#endif
37 52