summaryrefslogtreecommitdiff
path: root/core/applets/batteryapplet/batterystatus.h
Side-by-side diff
Diffstat (limited to 'core/applets/batteryapplet/batterystatus.h') (more/less context) (show whitespace changes)
-rw-r--r--core/applets/batteryapplet/batterystatus.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/applets/batteryapplet/batterystatus.h b/core/applets/batteryapplet/batterystatus.h
index 18c2943..a5ab804 100644
--- a/core/applets/batteryapplet/batterystatus.h
+++ b/core/applets/batteryapplet/batterystatus.h
@@ -31,28 +31,30 @@ public:
BatteryStatus( const PowerStatus *s, QWidget *parent=0 );
~BatteryStatus();
void updatePercent( int );
protected:
void drawSegment( QPainter *p, const QRect &r, const QColor &topgrad, const QColor &botgrad, const QColor &highlight, int hightlight_height );
void paintEvent( QPaintEvent *pe );
bool BatteryStatus::getProcApmStatusIpaq();
private:
const PowerStatus *ps;
int percent;
int ipaqPercent;
int jackPercent;
int jackMinutes;
QString perc1;
QString sec1;
QString perc2;
QString sec2;
QString ipaqStatus;
QString jackStatus;
QString ipaqChem;
QString jackChem;
bool bat2;
+ int screenWidth;
+ int screenHeight;
};
#endif