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/autorotateapplet/autorotate.cpp | |
parent | a2542a161d15feface21954afcd26f9ec51f131f (diff) | |
download | opie-3a7dd5b0904cdea71d486ffdea8bfd1aedb0af59.zip opie-3a7dd5b0904cdea71d486ffdea8bfd1aedb0af59.tar.gz opie-3a7dd5b0904cdea71d486ffdea8bfd1aedb0af59.tar.bz2 |
Resource -> OResource
Diffstat (limited to 'noncore/applets/autorotateapplet/autorotate.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/applets/autorotateapplet/autorotate.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/applets/autorotateapplet/autorotate.cpp b/noncore/applets/autorotateapplet/autorotate.cpp index 34802fb..28b631b 100644 --- a/noncore/applets/autorotateapplet/autorotate.cpp +++ b/noncore/applets/autorotateapplet/autorotate.cpp @@ -16,7 +16,7 @@ #include <opie2/odebug.h> #include <opie2/otaskbarapplet.h> +#include <opie2/oresource.h> #include <qpe/applnk.h> #include <qpe/config.h> -#include <qpe/resource.h> using namespace Opie::Core; @@ -29,6 +29,6 @@ AutoRotate::AutoRotate(QWidget * parent):QWidget(parent) setFixedHeight( AppLnk::smallIconSize() ); - enabledPm.convertFromImage( Resource::loadImage("autorotate/rotate").smoothScale( height(), width() ) ); - disabledPm.convertFromImage( Resource::loadImage("autorotate/norotate").smoothScale( height(), width() ) ); + enabledPm = Opie::Core::OResource::loadImage("autorotate/rotate", Opie::Core::OResource::SmallIcon); + disabledPm = Opie::Core::OResource::loadImage("autorotate/norotate", Opie::Core::OResource::SmallIcon); repaint(true); |