Diffstat (limited to 'inputmethods/multikey/keyboard.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | inputmethods/multikey/keyboard.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/inputmethods/multikey/keyboard.h b/inputmethods/multikey/keyboard.h index e61b76c..c2efe10 100644 --- a/inputmethods/multikey/keyboard.h +++ b/inputmethods/multikey/keyboard.h | |||
@@ -66,8 +66,10 @@ public: | |||
66 | void setKeysFromFile(const char *filename); | 66 | void setKeysFromFile(const char *filename); |
67 | void setKey(const int row, const int qcode, const ushort unicode, | 67 | void setKey(const int row, const int qcode, const ushort unicode, |
68 | const int width, QPixmap *pix); | 68 | const int width, QPixmap *pix); |
69 | void setPressed(const int row, const int col, const bool pressed); | 69 | void setPressed(const int row, const int col, const bool pressed); |
70 | QString lang; | ||
71 | QString title; | ||
70 | 72 | ||
71 | private: | 73 | private: |
72 | 74 | ||
73 | typedef struct Key { | 75 | typedef struct Key { |
@@ -107,8 +109,10 @@ signals: | |||
107 | 109 | ||
108 | private slots: | 110 | private slots: |
109 | void repeat(); | 111 | void repeat(); |
110 | void togglePickboard(bool on_off); | 112 | void togglePickboard(bool on_off); |
113 | void setMapToDefault(); | ||
114 | void setMapToFile(QString file); | ||
111 | 115 | ||
112 | private: | 116 | private: |
113 | int getKey( int &w, int j = -1 ); | 117 | int getKey( int &w, int j = -1 ); |
114 | void clearHighlight(); | 118 | void clearHighlight(); |
@@ -135,10 +139,10 @@ private: | |||
135 | 139 | ||
136 | int pressTid; | 140 | int pressTid; |
137 | bool pressed; | 141 | bool pressed; |
138 | 142 | ||
139 | Keys keys; | 143 | Keys *keys; |
140 | QString LANG; | 144 | |
141 | /* for korean input */ | 145 | /* for korean input */ |
142 | ushort schar, mchar, echar; | 146 | ushort schar, mchar, echar; |
143 | ushort parseKoreanInput(ushort c); | 147 | ushort parseKoreanInput(ushort c); |
144 | ushort combineKoreanChars(const ushort s, const ushort m, const ushort e); | 148 | ushort combineKoreanChars(const ushort s, const ushort m, const ushort e); |