-rw-r--r-- | core/applets/batteryapplet/batterystatus.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/applets/batteryapplet/batterystatus.h b/core/applets/batteryapplet/batterystatus.h index 85b2c4d..0dc25af 100644 --- a/core/applets/batteryapplet/batterystatus.h +++ b/core/applets/batteryapplet/batterystatus.h @@ -21,16 +21,17 @@ #define BATTERY_STATUS_H #include <qwidget.h> class PowerStatus; class BatteryStatus : public QWidget { + Q_OBJECT 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 ); |