summaryrefslogtreecommitdiff
path: root/examples/inputmethod/exampleboardimpl.cpp
authordrw <drw>2005-06-15 22:39:20 (UTC)
committer drw <drw>2005-06-15 22:39:20 (UTC)
commite0205bac48b9d23af9feb48004c24fcf7a5e8200 (patch) (unidiff)
tree2faa077192fd0bfc4fc409f0513cc0e82113fa9e /examples/inputmethod/exampleboardimpl.cpp
parentd2474c8e654d223b85b6200ce09fabd3a40af8e3 (diff)
downloadopie-e0205bac48b9d23af9feb48004c24fcf7a5e8200.zip
opie-e0205bac48b9d23af9feb48004c24fcf7a5e8200.tar.gz
opie-e0205bac48b9d23af9feb48004c24fcf7a5e8200.tar.bz2
Resource -> OResource
Diffstat (limited to 'examples/inputmethod/exampleboardimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--examples/inputmethod/exampleboardimpl.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/inputmethod/exampleboardimpl.cpp b/examples/inputmethod/exampleboardimpl.cpp
index 36989a2..6c7196b 100644
--- a/examples/inputmethod/exampleboardimpl.cpp
+++ b/examples/inputmethod/exampleboardimpl.cpp
@@ -3,7 +3,8 @@
3#include <qlabel.h> 3#include <qlabel.h>
4#include <qsignalmapper.h> 4#include <qsignalmapper.h>
5#include <qpushbutton.h> 5#include <qpushbutton.h>
6#include <qpe/resource.h> 6
7#include <opie2/oresource.h>
7 8
8#include "exampleboardimpl.h" 9#include "exampleboardimpl.h"
9 10
@@ -118,7 +119,7 @@ void ExampleboardImpl::resetState()
118QPixmap *ExampleboardImpl::icon() 119QPixmap *ExampleboardImpl::icon()
119{ 120{
120 if ( !m_icn ) 121 if ( !m_icn )
121 m_icn = new QPixmap(Resource::loadPixmap("Tux")); 122 m_icn = new QPixmap(Opie::Core::OResource::loadPixmap("Tux", Opie::Core::OResource::SmallIcon));
122 return m_icn; 123 return m_icn;
123} 124}
124 125