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.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/noncore/applets/wirelessapplet/wireless.h b/noncore/applets/wirelessapplet/wireless.h
index b475a46..9146c66 100644
--- a/noncore/applets/wirelessapplet/wireless.h
+++ b/noncore/applets/wirelessapplet/wireless.h
@@ -41,25 +41,24 @@ class WirelessControl : public QFrame
41 MGraph* mgraph; 41 MGraph* mgraph;
42 QLabel* statusLabel; 42 QLabel* statusLabel;
43 QLabel* updateLabel; 43 QLabel* updateLabel;
44 44
45 public slots: 45 public slots:
46 void updateDelayChange( int ); 46 void updateDelayChange( int );
47 void displayStyleChange( int ); 47 void displayStyleChange( int );
48 void advancedConfigClicked(); 48 void advancedConfigClicked();
49 49
50 private: 50 private:
51 WirelessApplet* applet; 51 WirelessApplet* applet;
52 52
53 int displayStyle;
54 int updateFrequency; 53 int updateFrequency;
55 54
56 bool rocESSID; 55 bool rocESSID;
57 bool rocFREQ; 56 bool rocFREQ;
58 bool rocAP; 57 bool rocAP;
59 bool rocMODE; 58 bool rocMODE;
60}; 59};
61 60
62class WirelessApplet : public QWidget 61class WirelessApplet : public QWidget
63{ 62{
64 Q_OBJECT 63 Q_OBJECT
65 public: 64 public:
@@ -73,35 +72,35 @@ class WirelessApplet : public QWidget
73 void displayStyleChange( int style ); 72 void displayStyleChange( int style );
74 73
75 void updateDHCPConfig( bool, bool, bool, bool ); 74 void updateDHCPConfig( bool, bool, bool, bool );
76 75
77 private: 76 private:
78 void mousePressEvent( QMouseEvent * ); 77 void mousePressEvent( QMouseEvent * );
79 void paintEvent( QPaintEvent* ); 78 void paintEvent( QPaintEvent* );
80 void checkInterface(); 79 void checkInterface();
81 void renewDHCP(); 80 void renewDHCP();
82 81
83 bool mustRepaint(); 82 bool mustRepaint();
84 void updatePopupWindow(); 83 void updatePopupWindow();
85 const char** getQualityPixmap(); 84 int numberOfRings();
86 85
87 private: 86 private:
88 QPixmap snapshotPixmap; 87 QPixmap snapshotPixmap;
89 int visualStyle; 88 int visualStyle;
90 int timer; 89 int timer;
91 90
92 Opie::Net::OWirelessNetworkInterface* interface; 91 Opie::Net::OWirelessNetworkInterface* interface;
93 92
94 private: 93 private:
95 const char** oldpixmap; 94 int oldrings;
96 Opie::Net::OWirelessNetworkInterface* oldiface; 95 Opie::Net::OWirelessNetworkInterface* oldiface;
97 int oldqualityH; 96 int oldqualityH;
98 int oldsignalH; 97 int oldsignalH;
99 int oldnoiseH; 98 int oldnoiseH;
100 99
101 QString oldESSID; 100 QString oldESSID;
102 QString oldAP; 101 QString oldAP;
103 QString oldMODE; 102 QString oldMODE;
104 double oldFREQ; 103 double oldFREQ;
105 104
106 bool rocESSID; 105 bool rocESSID;
107 bool rocFREQ; 106 bool rocFREQ;