author | zecke <zecke> | 2004-03-13 21:53:54 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-03-13 21:53:54 (UTC) |
commit | 2eb5c075b612498c4b65f3d49389b8612612a930 (patch) (unidiff) | |
tree | a0230cd9007f71bbb387b71b8e58684937e0cf70 /noncore/applets/notesapplet | |
parent | 184a0cd9935d0a249038cdbe05488c181b273d64 (diff) | |
download | opie-2eb5c075b612498c4b65f3d49389b8612612a930.zip opie-2eb5c075b612498c4b65f3d49389b8612612a930.tar.gz opie-2eb5c075b612498c4b65f3d49389b8612612a930.tar.bz2 |
Introduce the namespace
and the new APPLET_EXPORT define
-rw-r--r-- | noncore/applets/notesapplet/notes.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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 @@ | |||
46 | #include <qtimer.h> | 46 | #include <qtimer.h> |
47 | 47 | ||
48 | /* XPM */ | 48 | /* XPM */ |
49 | using namespace Opie::Ui; | ||
49 | static char * notes_xpm[] = { | 50 | static char * notes_xpm[] = { |
50 | "16 16 11 1", | 51 | "16 16 11 1", |
51 | " c None", | 52 | " c None", |
@@ -508,7 +509,6 @@ void NotesApplet::paintEvent( QPaintEvent* ) { | |||
508 | p.drawPixmap( 0, 1, ( const char** ) notes_xpm ); | 509 | p.drawPixmap( 0, 1, ( const char** ) notes_xpm ); |
509 | } | 510 | } |
510 | 511 | ||
511 | Q_EXPORT_INTERFACE() | 512 | |
512 | { | 513 | EXPORT_OPIE_APPLET_v1( NotesApplet ) |
513 | Q_CREATE_INSTANCE( OTaskbarAppletWrapper<NotesApplet> ); | 514 | |
514 | } | ||