author | mickeyl <mickeyl> | 2003-05-10 16:56:35 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-05-10 16:56:35 (UTC) |
commit | 7f8b43992dffa298d84a3a293fa0a198e51d6a1c (patch) (side-by-side diff) | |
tree | 8fb9e6b5c95e04686f5168f4edfc0a34dcbea246 /core/applets/batteryapplet/battery.h | |
parent | bb282009a5d37c77c9239d0e78950290f026d7a8 (diff) | |
download | opie-7f8b43992dffa298d84a3a293fa0a198e51d6a1c.zip opie-7f8b43992dffa298d84a3a293fa0a198e51d6a1c.tar.gz opie-7f8b43992dffa298d84a3a293fa0a198e51d6a1c.tar.bz2 |
- fix and rewrite draw algorithm to work with larger sizes
- add alternative appearance (hint: click'n'hold on the battery meter :-)
Diffstat (limited to 'core/applets/batteryapplet/battery.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/applets/batteryapplet/battery.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/applets/batteryapplet/battery.h b/core/applets/batteryapplet/battery.h index d4807b0..c2d1216 100644 --- a/core/applets/batteryapplet/battery.h +++ b/core/applets/batteryapplet/battery.h @@ -39,6 +39,7 @@ public: protected: void timerEvent( QTimerEvent * ); void paintEvent( QPaintEvent* ); + void mousePressEvent( QMouseEvent* ); void mouseReleaseEvent( QMouseEvent * ); protected slots: @@ -50,6 +51,7 @@ protected: QTimer *chargeTimer; int percent; bool charging; + int style; }; #endif |