author | harlekin <harlekin> | 2003-01-10 22:18:06 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-01-10 22:18:06 (UTC) |
commit | 2b407d0aae3c40c6f1caa356b53fb24cf1bff707 (patch) (unidiff) | |
tree | b7e4c80f66ef5d0dd9f8d28f4d56971eb357f285 /core/applets/batteryapplet/batterystatus.h | |
parent | 5199ee62d5478bbf5a8eb898c148352704f288e7 (diff) | |
download | opie-2b407d0aae3c40c6f1caa356b53fb24cf1bff707.zip opie-2b407d0aae3c40c6f1caa356b53fb24cf1bff707.tar.gz opie-2b407d0aae3c40c6f1caa356b53fb24cf1bff707.tar.bz2 |
merged ipaq stuff in, one step closer to kill batteryapplet ipaq
Diffstat (limited to 'core/applets/batteryapplet/batterystatus.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/applets/batteryapplet/batterystatus.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/core/applets/batteryapplet/batterystatus.h b/core/applets/batteryapplet/batterystatus.h index 0dc25af..18c2943 100644 --- a/core/applets/batteryapplet/batterystatus.h +++ b/core/applets/batteryapplet/batterystatus.h | |||
@@ -33,14 +33,26 @@ public: | |||
33 | 33 | ||
34 | void updatePercent( int ); | 34 | void updatePercent( int ); |
35 | 35 | ||
36 | protected: | 36 | protected: |
37 | void drawSegment( QPainter *p, const QRect &r, const QColor &topgrad, const QColor &botgrad, const QColor &highlight, int hightlight_height ); | 37 | void drawSegment( QPainter *p, const QRect &r, const QColor &topgrad, const QColor &botgrad, const QColor &highlight, int hightlight_height ); |
38 | void paintEvent( QPaintEvent *pe ); | 38 | void paintEvent( QPaintEvent *pe ); |
39 | 39 | bool BatteryStatus::getProcApmStatusIpaq(); | |
40 | private: | 40 | private: |
41 | const PowerStatus *ps; | 41 | const PowerStatus *ps; |
42 | int percent; | 42 | int percent; |
43 | int ipaqPercent; | ||
44 | int jackPercent; | ||
45 | int jackMinutes; | ||
46 | QString perc1; | ||
47 | QString sec1; | ||
48 | QString perc2; | ||
49 | QString sec2; | ||
50 | QString ipaqStatus; | ||
51 | QString jackStatus; | ||
52 | QString ipaqChem; | ||
53 | QString jackChem; | ||
54 | bool bat2; | ||
43 | }; | 55 | }; |
44 | 56 | ||
45 | #endif | 57 | #endif |
46 | 58 | ||