Diffstat (limited to 'examples/inputmethod/exampleboardimpl.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | examples/inputmethod/exampleboardimpl.cpp | 5 |
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 @@ -5,3 +5,4 @@ #include <qpushbutton.h> -#include <qpe/resource.h> + +#include <opie2/oresource.h> @@ -120,3 +121,3 @@ QPixmap *ExampleboardImpl::icon() if ( !m_icn ) - m_icn = new QPixmap(Resource::loadPixmap("Tux")); + m_icn = new QPixmap(Opie::Core::OResource::loadPixmap("Tux", Opie::Core::OResource::SmallIcon)); return m_icn; |