summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/function_keyboard.h
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/function_keyboard.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/function_keyboard.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/function_keyboard.h b/noncore/apps/opie-console/function_keyboard.h
index a60ff4b..b7e211c 100644
--- a/noncore/apps/opie-console/function_keyboard.h
+++ b/noncore/apps/opie-console/function_keyboard.h
@@ -1,11 +1,12 @@
1#ifndef OPIE_FUNCTION_KEYBOARD_H 1#ifndef OPIE_FUNCTION_KEYBOARD_H
2#define OPIE_FUNCTION_KEYBOARD_H 2#define OPIE_FUNCTION_KEYBOARD_H
3 3
4#include <opie2/oresource.h>
5
4#include <qpe/config.h> 6#include <qpe/config.h>
5#include <qpe/resource.h>
6#include <qpe/qpeapplication.h> 7#include <qpe/qpeapplication.h>
7#include <qframe.h> 8#include <qframe.h>
8#include <qpainter.h> 9#include <qpainter.h>
9#include <qvbox.h> 10#include <qvbox.h>
10#include <qgroupbox.h> 11#include <qgroupbox.h>
11#include <qmap.h> 12#include <qmap.h>
@@ -19,13 +20,13 @@ struct FKey {
19 FKey(): qcode(0), unicode(0) {}; 20 FKey(): qcode(0), unicode(0) {};
20 FKey(const QString &l, const QString &f, ushort q, ushort u): 21 FKey(const QString &l, const QString &f, ushort q, ushort u):
21 label(l), pixFile(f), qcode(q), unicode(u) { 22 label(l), pixFile(f), qcode(q), unicode(u) {
22 23
23 if (!f.isEmpty()) { 24 if (!f.isEmpty()) {
24 25
25 pix = new QPixmap ( Resource::loadPixmap("console/keys/" + f ) ); 26 pix = new QPixmap ( Opie::Core::OResource::loadPixmap("console/keys/" + f ) );
26 } 27 }
27 }; 28 };
28 29
29 QString label; 30 QString label;
30 QPixmap *pix; 31 QPixmap *pix;
31 QString pixFile; 32 QString pixFile;