author | mickeyl <mickeyl> | 2002-08-15 21:47:53 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2002-08-15 21:47:53 (UTC) |
commit | 596a6985c33b825462b8da70a9dc390306589f4b (patch) (unidiff) | |
tree | cabccedf268f19317fd67a8321a54786cdcb2062 /noncore/applets/wirelessapplet/wireless.h | |
parent | a7f51d623fd3419cb70c8911e54405c978836330 (diff) | |
download | opie-596a6985c33b825462b8da70a9dc390306589f4b.zip opie-596a6985c33b825462b8da70a9dc390306589f4b.tar.gz opie-596a6985c33b825462b8da70a9dc390306589f4b.tar.bz2 |
Changed update scale from milliseconds to seconds. Defaulting now to 2 seconds. All settings are saved via Config.
Diffstat (limited to 'noncore/applets/wirelessapplet/wireless.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/applets/wirelessapplet/wireless.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/noncore/applets/wirelessapplet/wireless.h b/noncore/applets/wirelessapplet/wireless.h index d45ac68..45c519d 100644 --- a/noncore/applets/wirelessapplet/wireless.h +++ b/noncore/applets/wirelessapplet/wireless.h | |||
@@ -34,6 +34,9 @@ class WirelessControl : public QFrame | |||
34 | public: | 34 | public: |
35 | WirelessControl( WirelessApplet* icon, QWidget *parent=0, const char *name=0 ); | 35 | WirelessControl( WirelessApplet* icon, QWidget *parent=0, const char *name=0 ); |
36 | void show( bool ); | 36 | void show( bool ); |
37 | |||
38 | void readConfig(); | ||
39 | void writeConfigEntry( const char* entry, int val ); | ||
37 | 40 | ||
38 | MGraph* mgraph; | 41 | MGraph* mgraph; |
39 | QLabel* statusLabel; | 42 | QLabel* statusLabel; |
@@ -41,9 +44,14 @@ public: | |||
41 | 44 | ||
42 | public slots: | 45 | public slots: |
43 | void updateDelayChange( int ); | 46 | void updateDelayChange( int ); |
47 | void displayStyleChange( int ); | ||
44 | 48 | ||
45 | private: | 49 | private: |
46 | WirelessApplet* applet; | 50 | WirelessApplet* applet; |
51 | |||
52 | int displayStyle; | ||
53 | int updateFrequency; | ||
54 | |||
47 | }; | 55 | }; |
48 | 56 | ||
49 | class WirelessApplet : public QWidget | 57 | class WirelessApplet : public QWidget |
@@ -56,9 +64,7 @@ public: | |||
56 | 64 | ||
57 | virtual void timerEvent( QTimerEvent* ); | 65 | virtual void timerEvent( QTimerEvent* ); |
58 | void updateDelayChange( int delay ); | 66 | void updateDelayChange( int delay ); |
59 | 67 | void displayStyleChange( int style ); | |
60 | public slots: | ||
61 | void styleChange( int ); | ||
62 | 68 | ||
63 | private: | 69 | private: |
64 | void mousePressEvent( QMouseEvent * ); | 70 | void mousePressEvent( QMouseEvent * ); |