Diffstat (limited to 'noncore/applets/notesapplet/notes.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/applets/notesapplet/notes.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/applets/notesapplet/notes.cpp b/noncore/applets/notesapplet/notes.cpp index d06672a..13f297e 100644 --- a/noncore/applets/notesapplet/notes.cpp +++ b/noncore/applets/notesapplet/notes.cpp | |||
@@ -9,31 +9,31 @@ | |||
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | **********************************************************************/ | 14 | **********************************************************************/ |
15 | 15 | ||
16 | #include "notes.h" | 16 | #include "notes.h" |
17 | 17 | ||
18 | /* OPIE */ | 18 | /* OPIE */ |
19 | #include <opie2/odebug.h> | 19 | #include <opie2/odebug.h> |
20 | #include <opie2/otaskbarapplet.h> | 20 | #include <opie2/otaskbarapplet.h> |
21 | #include <opie2/oresource.h> | ||
21 | #include <qpe/filemanager.h> | 22 | #include <qpe/filemanager.h> |
22 | #include <qpe/qpeapplication.h> | 23 | #include <qpe/qpeapplication.h> |
23 | #include <qpe/timestring.h> | 24 | #include <qpe/timestring.h> |
24 | #include <qpe/applnk.h> | 25 | #include <qpe/applnk.h> |
25 | #include <qpe/ir.h> | 26 | #include <qpe/ir.h> |
26 | #include <qpe/config.h> | 27 | #include <qpe/config.h> |
27 | #include <qpe/resource.h> | ||
28 | using namespace Opie::Core; | 28 | using namespace Opie::Core; |
29 | using namespace Opie::Ui; | 29 | using namespace Opie::Ui; |
30 | 30 | ||
31 | /* QT */ | 31 | /* QT */ |
32 | #include <qmultilineedit.h> | 32 | #include <qmultilineedit.h> |
33 | #include <qlistbox.h> | 33 | #include <qlistbox.h> |
34 | #include <qpopupmenu.h> | 34 | #include <qpopupmenu.h> |
35 | #include <qmessagebox.h> | 35 | #include <qmessagebox.h> |
36 | #include <qapplication.h> | 36 | #include <qapplication.h> |
37 | #include <qdir.h> | 37 | #include <qdir.h> |
38 | #include <qfile.h> | 38 | #include <qfile.h> |
39 | #include <qpoint.h> | 39 | #include <qpoint.h> |
@@ -423,25 +423,25 @@ void NotesControl::slotSearch() { | |||
423 | // } | 423 | // } |
424 | // break; | 424 | // break; |
425 | // }; | 425 | // }; |
426 | // QWidget::keyReleaseEvent(e); | 426 | // QWidget::keyReleaseEvent(e); |
427 | // } | 427 | // } |
428 | 428 | ||
429 | //=========================================================================== | 429 | //=========================================================================== |
430 | 430 | ||
431 | NotesApplet::NotesApplet( QWidget *parent, const char *name ) | 431 | NotesApplet::NotesApplet( QWidget *parent, const char *name ) |
432 | : QWidget( parent, name ) { | 432 | : QWidget( parent, name ) { |
433 | setFixedHeight( AppLnk::smallIconSize() ); | 433 | setFixedHeight( AppLnk::smallIconSize() ); |
434 | setFixedWidth( AppLnk::smallIconSize() ); | 434 | setFixedWidth( AppLnk::smallIconSize() ); |
435 | notesPixmap.convertFromImage( Resource::loadImage( "edit" ).smoothScale( height(), width() ) ); | 435 | notesPixmap = Opie::Core::OResource::loadImage( "edit", Opie::Core::OResource::SmallIcon ); |
436 | vc = new NotesControl; | 436 | vc = new NotesControl; |
437 | } | 437 | } |
438 | 438 | ||
439 | NotesApplet::~NotesApplet() { | 439 | NotesApplet::~NotesApplet() { |
440 | delete vc; | 440 | delete vc; |
441 | } | 441 | } |
442 | 442 | ||
443 | int NotesApplet::position() | 443 | int NotesApplet::position() |
444 | { | 444 | { |
445 | return 6; | 445 | return 6; |
446 | } | 446 | } |
447 | 447 | ||