summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/batteryapplet/battery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/applets/batteryapplet/battery.cpp b/core/applets/batteryapplet/battery.cpp
index 3d254fc..3b329c6 100644
--- a/core/applets/batteryapplet/battery.cpp
+++ b/core/applets/batteryapplet/battery.cpp
@@ -13,33 +13,33 @@
13** 13**
14** See http://www.trolltech.com/gpl/ for GPL licensing information. 14** See http://www.trolltech.com/gpl/ for GPL licensing information.
15** 15**
16** Contact info@trolltech.com if any conditions of this licensing are 16** Contact info@trolltech.com if any conditions of this licensing are
17** not clear to you. 17** not clear to you.
18** 18**
19**********************************************************************/ 19**********************************************************************/
20#include "battery.h" 20#include "battery.h"
21#include "batterystatus.h" 21#include "batterystatus.h"
22 22
23#include <qpe/power.h> 23#include <qpe/power.h>
24 24
25#include <qpainter.h> 25#include <qpainter.h>
26#include <qtimer.h> 26#include <qtimer.h>
27 27
28 28
29BatteryMeter::BatteryMeter( QWidget *parent = 0 ) 29BatteryMeter::BatteryMeter( QWidget *parent )
30 : QWidget( parent ), charging(false) 30 : QWidget( parent ), charging(false)
31{ 31{
32 ps = new PowerStatus; 32 ps = new PowerStatus;
33 startTimer( 10000 ); 33 startTimer( 10000 );
34 setFixedHeight(12); 34 setFixedHeight(12);
35 chargeTimer = new QTimer( this ); 35 chargeTimer = new QTimer( this );
36 connect( chargeTimer, SIGNAL(timeout()), this, SLOT(chargeTimeout()) ); 36 connect( chargeTimer, SIGNAL(timeout()), this, SLOT(chargeTimeout()) );
37 timerEvent(0); 37 timerEvent(0);
38} 38}
39 39
40BatteryMeter::~BatteryMeter() 40BatteryMeter::~BatteryMeter()
41{ 41{
42 delete ps; 42 delete ps;
43} 43}
44 44
45QSize BatteryMeter::sizeHint() const 45QSize BatteryMeter::sizeHint() const