author | mickeyl <mickeyl> | 2004-03-01 14:31:39 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-03-01 14:31:39 (UTC) |
commit | 2fbfc7e166235805294b932949f9a24b063d2199 (patch) (unidiff) | |
tree | 353ef0424c54f6443852863c87cdcbfeee696d1c /core/applets/batteryapplet/battery.cpp | |
parent | 3cdec2fe5b3201a121cfbb2352162fe0cbae0a1d (diff) | |
download | opie-2fbfc7e166235805294b932949f9a24b063d2199.zip opie-2fbfc7e166235805294b932949f9a24b063d2199.tar.gz opie-2fbfc7e166235805294b932949f9a24b063d2199.tar.bz2 |
libopie1-->libopie2
Diffstat (limited to 'core/applets/batteryapplet/battery.cpp') (more/less context) (ignore 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 @@ | |||
22 | 22 | ||
23 | /* OPIE */ | ||
24 | #include <opie2/otaskbarapplet.h> | ||
23 | #include <qpe/applnk.h> | 25 | #include <qpe/applnk.h> |
@@ -27,2 +29,3 @@ | |||
27 | 29 | ||
30 | /* QT */ | ||
28 | #include <qpainter.h> | 31 | #include <qpainter.h> |
@@ -170 +173,11 @@ void BatteryMeter::paintEvent( QPaintEvent* ) | |||
170 | 173 | ||
174 | int BatteryMeter::position() | ||
175 | { | ||
176 | return 8; | ||
177 | } | ||
178 | |||
179 | Q_EXPORT_INTERFACE() | ||
180 | { | ||
181 | Q_CREATE_INSTANCE( OTaskbarAppletWrapper<BatteryMeter> ); | ||
182 | } | ||
183 | |||