author | hash <hash> | 2002-08-15 09:49:41 (UTC) |
---|---|---|
committer | hash <hash> | 2002-08-15 09:49:41 (UTC) |
commit | 56d64478a06c6d4bf137e2e0dcf5ed7d85dadb71 (patch) (unidiff) | |
tree | 55037c6d09c9b2324a3a02d4c3a89db95e586ee1 /inputmethods/multikey/keyboard.h | |
parent | b54a9a4b4188ff4759574028f7ea0e231ee6bed3 (diff) | |
download | opie-56d64478a06c6d4bf137e2e0dcf5ed7d85dadb71.zip opie-56d64478a06c6d4bf137e2e0dcf5ed7d85dadb71.tar.gz opie-56d64478a06c6d4bf137e2e0dcf5ed7d85dadb71.tar.bz2 |
keymap dynamic loading works, but no file select dialog. remembers your selected keymap too
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 | |||
@@ -67,6 +67,8 @@ public: | |||
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 | ||
@@ -108,6 +110,8 @@ signals: | |||
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 ); |
@@ -136,8 +140,8 @@ private: | |||
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); |