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) (side-by-side diff)
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:
public slots:
void updateDelayChange( int );
void displayStyleChange( int );
+ void advancedConfigClicked();
private:
WirelessApplet* applet;
@@ -52,6 +53,10 @@ private:
int displayStyle;
int updateFrequency;
+ bool rocESSID;
+ bool rocFREQ;
+ bool rocAP;
+ bool rocMODE;
};
class WirelessApplet : public QWidget
@@ -65,11 +70,14 @@ 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();
@@ -89,6 +97,16 @@ private:
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__