author | mickeyl <mickeyl> | 2002-08-31 10:43:26 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2002-08-31 10:43:26 (UTC) |
commit | cd33eed8d5eccebdc37dcd0e30d7917b91765222 (patch) (side-by-side diff) | |
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 @@ -44,15 +44,20 @@ public: public slots: void updateDelayChange( int ); void displayStyleChange( int ); + void advancedConfigClicked(); private: WirelessApplet* applet; int displayStyle; int updateFrequency; + bool rocESSID; + bool rocFREQ; + bool rocAP; + bool rocMODE; }; class WirelessApplet : public QWidget { @@ -64,13 +69,16 @@ public: virtual void timerEvent( QTimerEvent* ); void updateDelayChange( int delay ); void displayStyleChange( int style ); + + void updateDHCPConfig( bool, bool, bool, bool ); private: void mousePressEvent( QMouseEvent * ); void paintEvent( QPaintEvent* ); void checkInterface(); + void renewDHCP(); bool mustRepaint(); void updatePopupWindow(); const char** getQualityPixmap(); @@ -88,8 +96,18 @@ private: MWirelessNetworkInterface* oldiface; int oldqualityH; int oldsignalH; int oldnoiseH; + + QString oldESSID; + QString oldAP; + QString oldMODE; + double oldFREQ; + + bool rocESSID; + bool rocFREQ; + bool rocAP; + bool rocMODE; }; #endif // __WIRELESS_APPLET_H__ |