summaryrefslogtreecommitdiff
path: root/noncore/applets/wirelessapplet/wireless.h
Unidiff
Diffstat (limited to 'noncore/applets/wirelessapplet/wireless.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/applets/wirelessapplet/wireless.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/noncore/applets/wirelessapplet/wireless.h b/noncore/applets/wirelessapplet/wireless.h
index 27f8c90..b475a46 100644
--- a/noncore/applets/wirelessapplet/wireless.h
+++ b/noncore/applets/wirelessapplet/wireless.h
@@ -10,25 +10,28 @@
10** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 10** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
11** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
12** 12**
13**********************************************************************/ 13**********************************************************************/
14 14
15#ifndef __WIRELESS_APPLET_H__ 15#ifndef __WIRELESS_APPLET_H__
16#define __WIRELESS_APPLET_H__ 16#define __WIRELESS_APPLET_H__
17 17
18#include <qwidget.h> 18#include <qwidget.h>
19#include <qframe.h> 19#include <qframe.h>
20#include <qpixmap.h> 20#include <qpixmap.h>
21 21
22class OWirelessNetworkInterface; 22namespace Opie {namespace Net {
23 class OWirelessNetworkInterface;
24}
25}
23class Y; 26class Y;
24class QLabel; 27class QLabel;
25class WirelessApplet; 28class WirelessApplet;
26class MGraph; 29class MGraph;
27 30
28class WirelessControl : public QFrame 31class WirelessControl : public QFrame
29{ 32{
30 Q_OBJECT 33 Q_OBJECT
31 public: 34 public:
32 WirelessControl( WirelessApplet* icon, QWidget *parent=0, const char *name=0 ); 35 WirelessControl( WirelessApplet* icon, QWidget *parent=0, const char *name=0 );
33 void show( bool ); 36 void show( bool );
34 37
@@ -77,29 +80,29 @@ class WirelessApplet : public QWidget
77 void checkInterface(); 80 void checkInterface();
78 void renewDHCP(); 81 void renewDHCP();
79 82
80 bool mustRepaint(); 83 bool mustRepaint();
81 void updatePopupWindow(); 84 void updatePopupWindow();
82 const char** getQualityPixmap(); 85 const char** getQualityPixmap();
83 86
84 private: 87 private:
85 QPixmap snapshotPixmap; 88 QPixmap snapshotPixmap;
86 int visualStyle; 89 int visualStyle;
87 int timer; 90 int timer;
88 91
89 OWirelessNetworkInterface* interface; 92 Opie::Net::OWirelessNetworkInterface* interface;
90 93
91 private: 94 private:
92 const char** oldpixmap; 95 const char** oldpixmap;
93 OWirelessNetworkInterface* oldiface; 96 Opie::Net::OWirelessNetworkInterface* oldiface;
94 int oldqualityH; 97 int oldqualityH;
95 int oldsignalH; 98 int oldsignalH;
96 int oldnoiseH; 99 int oldnoiseH;
97 100
98 QString oldESSID; 101 QString oldESSID;
99 QString oldAP; 102 QString oldAP;
100 QString oldMODE; 103 QString oldMODE;
101 double oldFREQ; 104 double oldFREQ;
102 105
103 bool rocESSID; 106 bool rocESSID;
104 bool rocFREQ; 107 bool rocFREQ;
105 bool rocAP; 108 bool rocAP;