author | mickeyl <mickeyl> | 2002-08-31 10:43:26 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2002-08-31 10:43:26 (UTC) |
commit | cd33eed8d5eccebdc37dcd0e30d7917b91765222 (patch) (unidiff) | |
tree | cec3d088b58501bcc660686f468c4a968dc2d729 /noncore/applets/wirelessapplet/wireless.h | |
parent | 3b720187b21a3b9b3d17fc2b26489723febdaec2 (diff) | |
download | opie-cd33eed8d5eccebdc37dcd0e30d7917b91765222.zip opie-cd33eed8d5eccebdc37dcd0e30d7917b91765222.tar.gz opie-cd33eed8d5eccebdc37dcd0e30d7917b91765222.tar.bz2 |
- debug output is now #ifdef'd
- wireless applet icon shows on demand (like cardmon
- applet has an advanced configuration dialog
- applet features experimental dhcp renew on change of essid/freq/ap/mode
Diffstat (limited to 'noncore/applets/wirelessapplet/wireless.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/applets/wirelessapplet/wireless.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/noncore/applets/wirelessapplet/wireless.h b/noncore/applets/wirelessapplet/wireless.h index 45c519d..51a3fab 100644 --- a/noncore/applets/wirelessapplet/wireless.h +++ b/noncore/applets/wirelessapplet/wireless.h | |||
@@ -42,19 +42,24 @@ public: | |||
42 | QLabel* statusLabel; | 42 | QLabel* statusLabel; |
43 | QLabel* updateLabel; | 43 | QLabel* updateLabel; |
44 | 44 | ||
45 | public slots: | 45 | public slots: |
46 | void updateDelayChange( int ); | 46 | void updateDelayChange( int ); |
47 | void displayStyleChange( int ); | 47 | void displayStyleChange( int ); |
48 | void advancedConfigClicked(); | ||
48 | 49 | ||
49 | private: | 50 | private: |
50 | WirelessApplet* applet; | 51 | WirelessApplet* applet; |
51 | 52 | ||
52 | int displayStyle; | 53 | int displayStyle; |
53 | int updateFrequency; | 54 | int updateFrequency; |
54 | 55 | ||
56 | bool rocESSID; | ||
57 | bool rocFREQ; | ||
58 | bool rocAP; | ||
59 | bool rocMODE; | ||
55 | }; | 60 | }; |
56 | 61 | ||
57 | class WirelessApplet : public QWidget | 62 | class WirelessApplet : public QWidget |
58 | { | 63 | { |
59 | Q_OBJECT | 64 | Q_OBJECT |
60 | public: | 65 | public: |
@@ -62,17 +67,20 @@ public: | |||
62 | ~WirelessApplet(); | 67 | ~WirelessApplet(); |
63 | WirelessControl* status; | 68 | WirelessControl* status; |
64 | 69 | ||
65 | virtual void timerEvent( QTimerEvent* ); | 70 | virtual void timerEvent( QTimerEvent* ); |
66 | void updateDelayChange( int delay ); | 71 | void updateDelayChange( int delay ); |
67 | void displayStyleChange( int style ); | 72 | void displayStyleChange( int style ); |
73 | |||
74 | void updateDHCPConfig( bool, bool, bool, bool ); | ||
68 | 75 | ||
69 | private: | 76 | private: |
70 | void mousePressEvent( QMouseEvent * ); | 77 | void mousePressEvent( QMouseEvent * ); |
71 | void paintEvent( QPaintEvent* ); | 78 | void paintEvent( QPaintEvent* ); |
72 | void checkInterface(); | 79 | void checkInterface(); |
80 | void renewDHCP(); | ||
73 | 81 | ||
74 | bool mustRepaint(); | 82 | bool mustRepaint(); |
75 | void updatePopupWindow(); | 83 | void updatePopupWindow(); |
76 | const char** getQualityPixmap(); | 84 | const char** getQualityPixmap(); |
77 | 85 | ||
78 | private: | 86 | private: |
@@ -86,10 +94,20 @@ private: | |||
86 | private: | 94 | private: |
87 | const char** oldpixmap; | 95 | const char** oldpixmap; |
88 | MWirelessNetworkInterface* oldiface; | 96 | MWirelessNetworkInterface* oldiface; |
89 | int oldqualityH; | 97 | int oldqualityH; |
90 | int oldsignalH; | 98 | int oldsignalH; |
91 | int oldnoiseH; | 99 | int oldnoiseH; |
100 | |||
101 | QString oldESSID; | ||
102 | QString oldAP; | ||
103 | QString oldMODE; | ||
104 | double oldFREQ; | ||
105 | |||
106 | bool rocESSID; | ||
107 | bool rocFREQ; | ||
108 | bool rocAP; | ||
109 | bool rocMODE; | ||
92 | }; | 110 | }; |
93 | 111 | ||
94 | #endif // __WIRELESS_APPLET_H__ | 112 | #endif // __WIRELESS_APPLET_H__ |
95 | 113 | ||