Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

wlanimp2.h

Go to the documentation of this file.
00001 #ifndef WLANIMP_H
00002 #define WLANIMP_H
00003 
00004 #include "wlan.h"
00005 #include "interfaces.h"
00006 #include <qstringlist.h>
00007 #include <opie2/onetutils.h>
00008 
00009 class InterfaceSetupImp;
00010 class Interface;
00011 class Config;
00012 namespace Opie {namespace Net {class OPacket;}}
00013 class QListViewItem;
00014 
00015 const int col_mode= 0;
00016 const int col_ssid = 1;
00017 const int col_chn = 2;
00018 const int col_mac = 3;
00019 
00020 class WLANImp : public WLAN {
00021   Q_OBJECT
00022 
00023 public:
00024   WLANImp( QWidget* parent = 0, const char* name = 0, Interface *i=0, bool modal = FALSE, WFlags fl = 0 );
00025   ~WLANImp();
00026   void setProfile(const QString &profile);
00027 
00028 public slots:
00029   void rescanNeighbourhood();
00030   void selectNetwork( QListViewItem* );
00031 
00032 protected:
00033   void accept();
00034 
00035 private:
00036   void parseOpts();
00037   void writeOpts();
00038 
00039   void parseKeyStr(QString keystr);
00040   QString formatKey(QString input);
00041   
00042   void handlePacket( Opie::Net::OPacket* );
00043   void displayFoundNetwork( const QString& mode, int channel, const QString& ssid, const Opie::Net::OMacAddress& mac );
00044 
00045   InterfaceSetupImp *interfaceSetup;
00046   Interfaces *interfaces;
00047   Interface  *interface;
00048 
00049   QString currentProfile;
00050 };
00051 
00052 #endif
00053 

Generated on Sat Nov 5 16:17:52 2005 for OPIE by  doxygen 1.4.2