summaryrefslogtreecommitdiff
path: root/examples/inputmethod
Unidiff
Diffstat (limited to 'examples/inputmethod') (more/less context) (ignore whitespace changes)
-rw-r--r--examples/inputmethod/config.in2
-rw-r--r--examples/inputmethod/exampleboardimpl.cpp5
-rw-r--r--examples/inputmethod/inputmethod.pro2
3 files changed, 5 insertions, 4 deletions
diff --git a/examples/inputmethod/config.in b/examples/inputmethod/config.in
index c0aa7e8..85b9725 100644
--- a/examples/inputmethod/config.in
+++ b/examples/inputmethod/config.in
@@ -2,3 +2,3 @@
2 boolean "Input Method Example" 2 boolean "Input Method Example"
3 default "y" 3 default "y"
4 depends ( LIBQPE || LIBQPE-X11 ) && EXAMPLES 4 depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE && EXAMPLES
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
@@ -4,5 +4,6 @@
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"
@@ -119,5 +120,5 @@ QPixmap *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}
diff --git a/examples/inputmethod/inputmethod.pro b/examples/inputmethod/inputmethod.pro
index ea98dd5..56881ff 100644
--- a/examples/inputmethod/inputmethod.pro
+++ b/examples/inputmethod/inputmethod.pro
@@ -7,5 +7,5 @@ DESTDIR = $(OPIEDIR)/plugins/inputmethods
7INCLUDEPATH += $(OPIEDIR)/include 7INCLUDEPATH += $(OPIEDIR)/include
8DEPENDPATH += ../../launcher 8DEPENDPATH += ../../launcher
9LIBS += -lqpe 9LIBS += -lqpe -lopiecore2
10 VERSION = 1.0.0 10 VERSION = 1.0.0
11 11