summaryrefslogtreecommitdiff
path: root/noncore/applets/wirelessapplet/wireless.h
authormickeyl <mickeyl>2002-08-31 10:43:26 (UTC)
committer mickeyl <mickeyl>2002-08-31 10:43:26 (UTC)
commitcd33eed8d5eccebdc37dcd0e30d7917b91765222 (patch) (unidiff)
treecec3d088b58501bcc660686f468c4a968dc2d729 /noncore/applets/wirelessapplet/wireless.h
parent3b720187b21a3b9b3d17fc2b26489723febdaec2 (diff)
downloadopie-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.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
@@ -45,6 +45,7 @@ public:
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;
@@ -52,6 +53,10 @@ private:
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
@@ -65,11 +70,14 @@ public:
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();
@@ -89,6 +97,16 @@ private:
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__