summaryrefslogtreecommitdiff
authorzecke <zecke>2004-04-04 23:31:29 (UTC)
committer zecke <zecke>2004-04-04 23:31:29 (UTC)
commitfb8ce053c0f08769d359fe4153785e3de72f83ea (patch) (side-by-side diff)
tree2f0081cf8739c6daba81c791ec77bde37cbbba1a
parentf2da7b706fd5e0512222e11ce0d94d2750074fd1 (diff)
downloadopie-fb8ce053c0f08769d359fe4153785e3de72f83ea.zip
opie-fb8ce053c0f08769d359fe4153785e3de72f83ea.tar.gz
opie-fb8ce053c0f08769d359fe4153785e3de72f83ea.tar.bz2
Comitting a fix is probably a good idea
use EXPORT_OPIE_APPLET_v1 instead of OTaskBarAppletWrapper directly
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/applets/cardmon/cardmon.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/applets/cardmon/cardmon.cpp b/core/applets/cardmon/cardmon.cpp
index ed4bfc7..1ad8b55 100644
--- a/core/applets/cardmon/cardmon.cpp
+++ b/core/applets/cardmon/cardmon.cpp
@@ -415,13 +415,10 @@ void CardMonitor::paintEvent( QPaintEvent * )
}
}
int CardMonitor::position()
{
return 7;
}
-Q_EXPORT_INTERFACE()
-{
- Q_CREATE_INSTANCE( Opie::Ui::Private::OTaskbarAppletWrapper<CardMonitor> );
-}
+EXPORT_OPIE_APPLET_v1( CardMonitor )