From 2eb5c075b612498c4b65f3d49389b8612612a930 Mon Sep 17 00:00:00 2001 From: zecke Date: Sat, 13 Mar 2004 21:53:54 +0000 Subject: Introduce the namespace and the new APPLET_EXPORT define --- (limited to 'noncore/applets/notesapplet') diff --git a/noncore/applets/notesapplet/notes.cpp b/noncore/applets/notesapplet/notes.cpp index 9b5e475..13f7cf3 100644 --- a/noncore/applets/notesapplet/notes.cpp +++ b/noncore/applets/notesapplet/notes.cpp @@ -46,6 +46,7 @@ #include /* XPM */ +using namespace Opie::Ui; static char * notes_xpm[] = { "16 16 11 1", " c None", @@ -508,7 +509,6 @@ void NotesApplet::paintEvent( QPaintEvent* ) { p.drawPixmap( 0, 1, ( const char** ) notes_xpm ); } -Q_EXPORT_INTERFACE() -{ - Q_CREATE_INSTANCE( OTaskbarAppletWrapper ); -} + +EXPORT_OPIE_APPLET_v1( NotesApplet ) + -- cgit v0.9.0.2