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, 4 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/function_keyboard.h b/noncore/apps/opie-console/function_keyboard.h
index efeff6d..05b991d 100644
--- a/noncore/apps/opie-console/function_keyboard.h
+++ b/noncore/apps/opie-console/function_keyboard.h
@@ -54,38 +54,41 @@ signals:
54 54
55private: 55private:
56 56
57 void loadDefaults(); 57 void loadDefaults();
58 58
59 59
60private: 60private:
61 61
62 // thie key for the map is the row/col 62 // thie key for the map is the row/col
63 QMap<QString, FKey> keys; 63 QMap<QString, FKey> keys;
64 64
65 uint numRows; 65 uint numRows;
66 int test;
66 uint numCols; 67 uint numCols;
67 uint keyHeight; 68 uint keyHeight;
68 double keyWidth; // decimal point matters! 69 double keyWidth; // decimal point matters!
69 70
70 int pressedRow, pressedCol; 71 int pressedRow, pressedCol;
71 72
72 QObject *parent; 73 QObject *parent;
73 74
74}; 75};
75 76
76class FunctionKeyboardConfig : public ProfileDialogKeyWidget { 77class FunctionKeyboardConfig : public ProfileDialogKeyWidget {
78
77 Q_OBJECT 79 Q_OBJECT
80
78public: 81public:
79 FunctionKeyboardConfig(const QString& name, QWidget *wid); 82 FunctionKeyboardConfig(const QString& name, QWidget *wid, const char* name = 0l );
80 ~FunctionKeyboardConfig(); 83 ~FunctionKeyboardConfig();
81 84
82 void load(const Profile&); 85 void load(const Profile&);
83 void save(Profile&); 86 void save(Profile&);
84 87
85private slots: 88private slots:
86 89
87 void slotKeyPressed(ushort, ushort, bool, bool, bool, ushort, ushort); 90 void slotKeyPressed(ushort, ushort, bool, bool, bool, ushort, ushort);
88 void slotChangeRows(int); 91 void slotChangeRows(int);
89 void slotChangeCols(int); 92 void slotChangeCols(int);
90 void slotChangeIcon(int); 93 void slotChangeIcon(int);
91 94