Diffstat (limited to 'core/applets/batteryapplet/battery.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/applets/batteryapplet/battery.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/core/applets/batteryapplet/battery.cpp b/core/applets/batteryapplet/battery.cpp index 9a9ddf6..fed9b34 100644 --- a/core/applets/batteryapplet/battery.cpp +++ b/core/applets/batteryapplet/battery.cpp @@ -22,2 +22,4 @@ +/* OPIE */ +#include <opie2/otaskbarapplet.h> #include <qpe/applnk.h> @@ -27,2 +29,3 @@ +/* QT */ #include <qpainter.h> @@ -170 +173,11 @@ void BatteryMeter::paintEvent( QPaintEvent* ) +int BatteryMeter::position() +{ + return 8; +} + +Q_EXPORT_INTERFACE() +{ + Q_CREATE_INSTANCE( OTaskbarAppletWrapper<BatteryMeter> ); +} + |