summaryrefslogtreecommitdiff
path: root/noncore
authordrw <drw>2005-05-17 22:48:25 (UTC)
committer drw <drw>2005-05-17 22:48:25 (UTC)
commit0892a9d473bfeacc921d586266e6889153654737 (patch) (side-by-side diff)
treed3ea1c3b08ac642b999db357a3ccbff691ce8bce /noncore
parent58c3aa9b498e43665511fbe8f32995e0a4cb29d6 (diff)
downloadopie-0892a9d473bfeacc921d586266e6889153654737.zip
opie-0892a9d473bfeacc921d586266e6889153654737.tar.gz
opie-0892a9d473bfeacc921d586266e6889153654737.tar.bz2
Resource -> OResource
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-reader/QTReaderApp.cpp8
-rw-r--r--noncore/apps/opie-reader/opie-reader.control2
-rw-r--r--noncore/apps/opie-reader/opie-reader.pro1
3 files changed, 6 insertions, 5 deletions
diff --git a/noncore/apps/opie-reader/QTReaderApp.cpp b/noncore/apps/opie-reader/QTReaderApp.cpp
index 8ef0674..b985094 100644
--- a/noncore/apps/opie-reader/QTReaderApp.cpp
+++ b/noncore/apps/opie-reader/QTReaderApp.cpp
@@ -71,3 +71,3 @@
#ifdef USEQPE
-#include <qpe/resource.h>
+#include <opie2/oresource.h>
#ifdef OPIE
@@ -120,4 +120,4 @@ void QTReaderApp::setScrollState(bool _b) { m_scrollButton->setOn(_b); }
#ifdef USEQPE
-#define geticon(iconname) Resource::loadPixmap( iconname )
-#define getmyicon(iconname) Resource::loadPixmap( PICDIR iconname )
+#define geticon(iconname) Opie::Core::OResource::loadPixmap( iconname, Opie::Core::OResource::SmallIcon )
+#define getmyicon(iconname) Opie::Core::OResource::loadPixmap( PICDIR iconname, Opie::Core::OResource::SmallIcon )
#else
@@ -305,3 +305,3 @@ QTReaderApp::QTReaderApp( QWidget *parent, const char *name, WFlags f )
#ifdef USEQPE
- setIcon( Resource::loadPixmap( PICDIR "uqtreader") );
+ setIcon( Opie::Core::OResource::loadPixmap( PICDIR "uqtreader", Opie::Core::OResource::SmallIcon ) );
#else
diff --git a/noncore/apps/opie-reader/opie-reader.control b/noncore/apps/opie-reader/opie-reader.control
index 60976b2..d53f70d 100644
--- a/noncore/apps/opie-reader/opie-reader.control
+++ b/noncore/apps/opie-reader/opie-reader.control
@@ -6,3 +6,3 @@ Maintainer: Tim Wentford <timwentford@hotmail.com>
Architecture: arm
-Depends: task-opie-minimal
+Depends: task-opie-minimal, libopiecore2
License: GPL
diff --git a/noncore/apps/opie-reader/opie-reader.pro b/noncore/apps/opie-reader/opie-reader.pro
index 47980e1..da39154 100644
--- a/noncore/apps/opie-reader/opie-reader.pro
+++ b/noncore/apps/opie-reader/opie-reader.pro
@@ -16,2 +16,3 @@ SUBDIRS = pluckerbaselib \
reader
+LIBS += -lopiecore2