src/hbcore/decorators/hbbatteryindicator_p.h
changeset 7 923ff622b8b9
parent 2 06ff229162e9
child 30 80e4d18b72f5
--- 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)