Diffstat (limited to 'noncore/applets/wirelessapplet/wireless.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/applets/wirelessapplet/wireless.h | 9 |
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 | ||
22 | class OWirelessNetworkInterface; | 22 | namespace Opie {namespace Net { |
23 | class OWirelessNetworkInterface; | ||
24 | } | ||
25 | } | ||
23 | class Y; | 26 | class Y; |
24 | class QLabel; | 27 | class QLabel; |
25 | class WirelessApplet; | 28 | class WirelessApplet; |
26 | class MGraph; | 29 | class MGraph; |
27 | 30 | ||
28 | class WirelessControl : public QFrame | 31 | class 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; |