summaryrefslogtreecommitdiff
path: root/core/applets/screenshotapplet/screenshot.cpp
Side-by-side diff
Diffstat (limited to 'core/applets/screenshotapplet/screenshot.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/applets/screenshotapplet/screenshot.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/core/applets/screenshotapplet/screenshot.cpp b/core/applets/screenshotapplet/screenshot.cpp
index 20e1c9b..9aa012a 100644
--- a/core/applets/screenshotapplet/screenshot.cpp
+++ b/core/applets/screenshotapplet/screenshot.cpp
@@ -41,2 +41,3 @@
/* XPM */
+using namespace Opie::Ui;
static char * snapshot_xpm[] = {
@@ -538,6 +539,4 @@ void ScreenshotApplet::paintEvent( QPaintEvent* )
-Q_EXPORT_INTERFACE()
-{
- Q_CREATE_INSTANCE( OTaskbarAppletWrapper<ScreenshotApplet> );
-}
+
+EXPORT_OPIE_APPLET_v1( ScreenshotApplet )