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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/function_keyboard.h b/noncore/apps/opie-console/function_keyboard.h
index bc3e25c..b8420ae 100644
--- a/noncore/apps/opie-console/function_keyboard.h
+++ b/noncore/apps/opie-console/function_keyboard.h
@@ -38,21 +38,27 @@ public:
38 void resizeEvent(QResizeEvent*); 38 void resizeEvent(QResizeEvent*);
39 39
40 40
41 41
42 QSize sizeHint() const; 42 QSize sizeHint() const;
43 43
44signals:
45
46 void keyPressed(ushort, ushort, bool, bool, bool);
47
44private: 48private:
45 49
46 // thie key for the map is the row/col 50 // thie key for the map is the row/col
47 QMap<QString, FKey> keys; 51 QMap<QString, FKey> keys;
48 52
49 uint numRows; 53 uint numRows;
50 uint numCols; 54 uint numCols;
51 uint keyHeight; 55 uint keyHeight;
52 double keyWidth; // decimal point matters! 56 double keyWidth; // decimal point matters!
53 57
54 int pressedRow, pressedCol; 58 int pressedRow, pressedCol;
55 59
60 QObject *parent;
61
56}; 62};
57 63
58#endif 64#endif