--- a/src/hbcore/decorators/hbbatteryindicator_p.h Wed Jun 23 18:33:25 2010 +0300
+++ b/src/hbcore/decorators/hbbatteryindicator_p.h Tue Jul 06 14:36:53 2010 +0300
@@ -50,6 +50,7 @@
inline int type() const { return Type; }
int level() const;
+ bool isCharging() const;
public slots:
virtual void createPrimitives();
@@ -57,9 +58,13 @@
void setLevel(int levelPercent);
+signals:
+ void levelChanged();
+
protected:
void timerEvent(QTimerEvent *event);
void initStyleOption(HbStyleOptionBatteryIndicator *option) const;
+ bool event(QEvent *event);
private:
Q_DECLARE_PRIVATE_D(d_ptr, HbBatteryIndicator)