summaryrefslogtreecommitdiff
authordrw <drw>2005-05-24 21:48:49 (UTC)
committer drw <drw>2005-05-24 21:48:49 (UTC)
commita2542a161d15feface21954afcd26f9ec51f131f (patch) (side-by-side diff)
tree2af887a81a3943732ab1b68b548dbc0e817fd994
parentc3acfb9caacd7c83f9798940aed5b7d2624ecc01 (diff)
downloadopie-a2542a161d15feface21954afcd26f9ec51f131f.zip
opie-a2542a161d15feface21954afcd26f9ec51f131f.tar.gz
opie-a2542a161d15feface21954afcd26f9ec51f131f.tar.bz2
Resource -> OResource
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opierec/helpwindow.cpp8
-rw-r--r--noncore/multimedia/opierec/qtrec.cpp6
2 files changed, 8 insertions, 6 deletions
diff --git a/noncore/multimedia/opierec/helpwindow.cpp b/noncore/multimedia/opierec/helpwindow.cpp
index 7f984c3..b0a8ac3 100644
--- a/noncore/multimedia/opierec/helpwindow.cpp
+++ b/noncore/multimedia/opierec/helpwindow.cpp
@@ -14,3 +14,3 @@
#include <opie2/odebug.h>
-#include <qpe/resource.h>
+#include <opie2/oresource.h>
using namespace Opie::Core;
@@ -45,3 +45,4 @@ HelpWindow::HelpWindow( const QString& home_, const QString& _path, QWidget* par
- QAction *a = new QAction( tr( "Backward" ), Resource::loadPixmap( "back" ), QString::null, 0, this, 0 );
+ QAction *a = new QAction( tr( "Backward" ), Opie::Core::OResource::loadPixmap( "back", Opie::Core::OResource::SmallIcon ),
+ QString::null, 0, this, 0 );
connect( a, SIGNAL( activated() ), browser, SLOT( backward() ) );
@@ -49,3 +50,4 @@ HelpWindow::HelpWindow( const QString& home_, const QString& _path, QWidget* par
- a = new QAction( tr( "Forward" ), Resource::loadPixmap( "forward" ), QString::null, 0, this, 0 );
+ a = new QAction( tr( "Forward" ), Opie::Core::OResource::loadPixmap( "forward", Opie::Core::OResource::SmallIcon ),
+ QString::null, 0, this, 0 );
connect( a, SIGNAL( activated() ), browser, SLOT( forward() ) );
diff --git a/noncore/multimedia/opierec/qtrec.cpp b/noncore/multimedia/opierec/qtrec.cpp
index 9d3d5cf..75413be 100644
--- a/noncore/multimedia/opierec/qtrec.cpp
+++ b/noncore/multimedia/opierec/qtrec.cpp
@@ -16,2 +16,3 @@ extern "C" {
#include <opie2/odebug.h>
+#include <opie2/oresource.h>
#include <qpe/config.h>
@@ -19,3 +20,2 @@ extern "C" {
#include <qpe/qpeapplication.h>
-#include <qpe/resource.h>
#include <qpe/storage.h>
@@ -508,3 +508,3 @@ void QtRec::init() {
toBeginningButton->setFixedSize( 22, 22);
- toBeginningButton->setPixmap( Resource::loadPixmap("fastback") );
+ toBeginningButton->setPixmap( Opie::Core::OResource::loadPixmap("fastback", Opie::Core::OResource::SmallIcon) );
@@ -513,3 +513,3 @@ void QtRec::init() {
toEndButton->setFixedSize( 22, 22);
- toEndButton->setPixmap( Resource::loadPixmap( "fastforward" ) );
+ toEndButton->setPixmap( Opie::Core::OResource::loadPixmap( "fastforward", Opie::Core::OResource::SmallIcon ) );