author | drw <drw> | 2005-05-24 22:29:46 (UTC) |
---|---|---|
committer | drw <drw> | 2005-05-24 22:29:46 (UTC) |
commit | 3a7dd5b0904cdea71d486ffdea8bfd1aedb0af59 (patch) (side-by-side diff) | |
tree | 2573d5c8bdad9d95eede843615a5baa1a45bbc95 /noncore/applets/notesapplet | |
parent | a2542a161d15feface21954afcd26f9ec51f131f (diff) | |
download | opie-3a7dd5b0904cdea71d486ffdea8bfd1aedb0af59.zip opie-3a7dd5b0904cdea71d486ffdea8bfd1aedb0af59.tar.gz opie-3a7dd5b0904cdea71d486ffdea8bfd1aedb0af59.tar.bz2 |
Resource -> OResource
-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 @@ -18,13 +18,13 @@ /* OPIE */ #include <opie2/odebug.h> #include <opie2/otaskbarapplet.h> +#include <opie2/oresource.h> #include <qpe/filemanager.h> #include <qpe/qpeapplication.h> #include <qpe/timestring.h> #include <qpe/applnk.h> #include <qpe/ir.h> #include <qpe/config.h> -#include <qpe/resource.h> using namespace Opie::Core; using namespace Opie::Ui; @@ -432,7 +432,7 @@ NotesApplet::NotesApplet( QWidget *parent, const char *name ) : QWidget( parent, name ) { setFixedHeight( AppLnk::smallIconSize() ); setFixedWidth( AppLnk::smallIconSize() ); - notesPixmap.convertFromImage( Resource::loadImage( "edit" ).smoothScale( height(), width() ) ); + notesPixmap = Opie::Core::OResource::loadImage( "edit", Opie::Core::OResource::SmallIcon ); vc = new NotesControl; } |