summaryrefslogtreecommitdiff
path: root/noncore/applets/wirelessapplet/wireless.h
Unidiff
Diffstat (limited to 'noncore/applets/wirelessapplet/wireless.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/applets/wirelessapplet/wireless.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/noncore/applets/wirelessapplet/wireless.h b/noncore/applets/wirelessapplet/wireless.h
index 644be26..27f8c90 100644
--- a/noncore/applets/wirelessapplet/wireless.h
+++ b/noncore/applets/wirelessapplet/wireless.h
@@ -10,28 +10,25 @@
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 MNetwork; 22class OWirelessNetworkInterface;
23class MWirelessNetwork;
24class MNetworkInterface;
25class MWirelessNetworkInterface;
26class Y; 23class Y;
27class QLabel; 24class QLabel;
28class WirelessApplet; 25class WirelessApplet;
29class MGraph; 26class MGraph;
30 27
31class WirelessControl : public QFrame 28class WirelessControl : public QFrame
32{ 29{
33 Q_OBJECT 30 Q_OBJECT
34 public: 31 public:
35 WirelessControl( WirelessApplet* icon, QWidget *parent=0, const char *name=0 ); 32 WirelessControl( WirelessApplet* icon, QWidget *parent=0, const char *name=0 );
36 void show( bool ); 33 void show( bool );
37 34
@@ -80,30 +77,29 @@ class WirelessApplet : public QWidget
80 void checkInterface(); 77 void checkInterface();
81 void renewDHCP(); 78 void renewDHCP();
82 79
83 bool mustRepaint(); 80 bool mustRepaint();
84 void updatePopupWindow(); 81 void updatePopupWindow();
85 const char** getQualityPixmap(); 82 const char** getQualityPixmap();
86 83
87 private: 84 private:
88 QPixmap snapshotPixmap; 85 QPixmap snapshotPixmap;
89 int visualStyle; 86 int visualStyle;
90 int timer; 87 int timer;
91 88
92 MWirelessNetwork* network; 89 OWirelessNetworkInterface* interface;
93 MNetworkInterface* interface;
94 90
95 private: 91 private:
96 const char** oldpixmap; 92 const char** oldpixmap;
97 MWirelessNetworkInterface* oldiface; 93 OWirelessNetworkInterface* oldiface;
98 int oldqualityH; 94 int oldqualityH;
99 int oldsignalH; 95 int oldsignalH;
100 int oldnoiseH; 96 int oldnoiseH;
101 97
102 QString oldESSID; 98 QString oldESSID;
103 QString oldAP; 99 QString oldAP;
104 QString oldMODE; 100 QString oldMODE;
105 double oldFREQ; 101 double oldFREQ;
106 102
107 bool rocESSID; 103 bool rocESSID;
108 bool rocFREQ; 104 bool rocFREQ;
109 bool rocAP; 105 bool rocAP;