summaryrefslogtreecommitdiff
path: root/noncore/applets/wirelessapplet/wireless.h
Unidiff
Diffstat (limited to 'noncore/applets/wirelessapplet/wireless.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/applets/wirelessapplet/wireless.h18
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
45public slots: 45public slots:
46 void updateDelayChange( int ); 46 void updateDelayChange( int );
47 void displayStyleChange( int ); 47 void displayStyleChange( int );
48 void advancedConfigClicked();
48 49
49private: 50private:
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
57class WirelessApplet : public QWidget 62class WirelessApplet : public QWidget
58{ 63{
59 Q_OBJECT 64 Q_OBJECT
60public: 65public:
@@ -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
69private: 76private:
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
78private: 86private:
@@ -86,10 +94,20 @@ private:
86private: 94private:
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