author | mickeyl <mickeyl> | 2002-08-15 21:47:53 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2002-08-15 21:47:53 (UTC) |
commit | 596a6985c33b825462b8da70a9dc390306589f4b (patch) (side-by-side diff) | |
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) (show 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 @@ -35,15 +35,23 @@ public: WirelessControl( WirelessApplet* icon, QWidget *parent=0, const char *name=0 ); void show( bool ); + void readConfig(); + void writeConfigEntry( const char* entry, int val ); + MGraph* mgraph; QLabel* statusLabel; QLabel* updateLabel; public slots: void updateDelayChange( int ); + void displayStyleChange( int ); private: WirelessApplet* applet; + + int displayStyle; + int updateFrequency; + }; class WirelessApplet : public QWidget @@ -56,9 +64,7 @@ public: virtual void timerEvent( QTimerEvent* ); void updateDelayChange( int delay ); - -public slots: - void styleChange( int ); + void displayStyleChange( int style ); private: void mousePressEvent( QMouseEvent * ); |