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) (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 @@ -31,37 +31,43 @@ class MGraph; class WirelessControl : public QFrame { Q_OBJECT 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 { Q_OBJECT public: WirelessApplet( QWidget *parent = 0, const char *name=0 ); ~WirelessApplet(); WirelessControl* status; virtual void timerEvent( QTimerEvent* ); void updateDelayChange( int delay ); - -public slots: - void styleChange( int ); + void displayStyleChange( int style ); private: void mousePressEvent( QMouseEvent * ); void paintEvent( QPaintEvent* ); void checkInterface(); |