author | mickeyl <mickeyl> | 2004-02-23 14:42:18 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-02-23 14:42:18 (UTC) |
commit | 68c8d3eb878f9ba913c42368fbb253d7320c62be (patch) (unidiff) | |
tree | 5c2ceda7500c2a18e0134f763d278e6d0c00c911 /noncore/applets/wirelessapplet/wireless.h | |
parent | 1f362cd77a2b39eae2abca6da28efa5118d2c347 (diff) | |
download | opie-68c8d3eb878f9ba913c42368fbb253d7320c62be.zip opie-68c8d3eb878f9ba913c42368fbb253d7320c62be.tar.gz opie-68c8d3eb878f9ba913c42368fbb253d7320c62be.tar.bz2 |
working on the overhaul. CAUTION: WirelessApplet is broken now.
Diffstat (limited to 'noncore/applets/wirelessapplet/wireless.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/applets/wirelessapplet/wireless.h | 10 |
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 | ||
22 | class MNetwork; | 22 | class OWirelessNetworkInterface; |
23 | class MWirelessNetwork; | ||
24 | class MNetworkInterface; | ||
25 | class MWirelessNetworkInterface; | ||
26 | class Y; | 23 | class Y; |
27 | class QLabel; | 24 | class QLabel; |
28 | class WirelessApplet; | 25 | class WirelessApplet; |
29 | class MGraph; | 26 | class MGraph; |
30 | 27 | ||
31 | class WirelessControl : public QFrame | 28 | class 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; |