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: QLabel* statusLabel; QLabel* updateLabel; 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 { Q_OBJECT public: @@ -62,17 +67,20 @@ public: ~WirelessApplet(); WirelessControl* status; 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(); private: @@ -86,10 +94,20 @@ private: private: const char** oldpixmap; 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__ |