summaryrefslogtreecommitdiff
path: root/core/applets/batteryapplet/batterystatus.h
Unidiff
Diffstat (limited to 'core/applets/batteryapplet/batterystatus.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/batteryapplet/batterystatus.h14
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
@@ -36,10 +36,22 @@ public:
36protected: 36protected:
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();
40private: 40private:
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