summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/function_keyboard.h
Side-by-side diff
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.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/function_keyboard.h b/noncore/apps/opie-console/function_keyboard.h
index f1ca037..bc3e25c 100644
--- a/noncore/apps/opie-console/function_keyboard.h
+++ b/noncore/apps/opie-console/function_keyboard.h
@@ -3,4 +3,24 @@
+#include <qpe/config.h>
#include <qframe.h>
#include <qpainter.h>
+#include <qmap.h>
+
+class FKey {
+
+public:
+
+ FKey(): qcode(0), unicode(0) {};
+ FKey(const QString &l, ushort q, ushort u): label(l), qcode(q), unicode(u) {};
+
+ QString getL() { return label; }
+ ushort getQ() { return qcode; }
+ ushort getU() { return unicode; }
+
+private:
+
+ QString label;
+ ushort qcode;
+ ushort unicode;
+};
@@ -19,2 +39,3 @@ public:
+
@@ -23,2 +44,6 @@ public:
private:
+
+ // thie key for the map is the row/col
+ QMap<QString, FKey> keys;
+
uint numRows;