-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 | |||
@@ -43,12 +43,13 @@ | |||
43 | #include <qframe.h> | 43 | #include <qframe.h> |
44 | #include <qpixmap.h> | 44 | #include <qpixmap.h> |
45 | #include <qstring.h> | 45 | #include <qstring.h> |
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", |
52 | ". c #000000", | 53 | ". c #000000", |
53 | "+ c #7F7F7F", | 54 | "+ c #7F7F7F", |
54 | "@ c #BFBFBF", | 55 | "@ c #BFBFBF", |
@@ -505,10 +506,9 @@ void NotesApplet::mousePressEvent( QMouseEvent *) { | |||
505 | 506 | ||
506 | void NotesApplet::paintEvent( QPaintEvent* ) { | 507 | void NotesApplet::paintEvent( QPaintEvent* ) { |
507 | QPainter p(this); | 508 | QPainter p(this); |
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 | } | ||