author | hash <hash> | 2002-08-14 05:39:42 (UTC) |
---|---|---|
committer | hash <hash> | 2002-08-14 05:39:42 (UTC) |
commit | 13a1334cca686bf512c4a8f94a648ba969b38d22 (patch) (unidiff) | |
tree | 13e46c6b4157b0348f38d952ddc70f6e0fda619b /inputmethods/multikey/keyboard.h | |
parent | 29ffa9119abaf753b165c5c241b22938eeaef301 (diff) | |
download | opie-13a1334cca686bf512c4a8f94a648ba969b38d22.zip opie-13a1334cca686bf512c4a8f94a648ba969b38d22.tar.gz opie-13a1334cca686bf512c4a8f94a648ba969b38d22.tar.bz2 |
added config dialog. only open/closing pickboard works
Diffstat (limited to 'inputmethods/multikey/keyboard.h') (more/less context) (show whitespace changes)
-rw-r--r-- | inputmethods/multikey/keyboard.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/inputmethods/multikey/keyboard.h b/inputmethods/multikey/keyboard.h index b524195..e61b76c 100644 --- a/inputmethods/multikey/keyboard.h +++ b/inputmethods/multikey/keyboard.h | |||
@@ -18,12 +18,13 @@ | |||
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #include <qframe.h> | 20 | #include <qframe.h> |
21 | #include <qmap.h> | 21 | #include <qmap.h> |
22 | #include "../pickboard/pickboardcfg.h" | 22 | #include "../pickboard/pickboardcfg.h" |
23 | #include "../pickboard/pickboardpicks.h" | 23 | #include "../pickboard/pickboardpicks.h" |
24 | #include "configdlg.h" | ||
24 | 25 | ||
25 | class QTimer; | 26 | class QTimer; |
26 | 27 | ||
27 | class KeyboardConfig : public DictFilterConfig | 28 | class KeyboardConfig : public DictFilterConfig |
28 | { | 29 | { |
29 | public: | 30 | public: |
@@ -103,12 +104,13 @@ public: | |||
103 | 104 | ||
104 | signals: | 105 | signals: |
105 | void key( ushort scancode, ushort unicode, ushort modifiers, bool, bool ); | 106 | void key( ushort scancode, ushort unicode, ushort modifiers, bool, bool ); |
106 | 107 | ||
107 | private slots: | 108 | private slots: |
108 | void repeat(); | 109 | void repeat(); |
110 | void togglePickboard(bool on_off); | ||
109 | 111 | ||
110 | private: | 112 | private: |
111 | int getKey( int &w, int j = -1 ); | 113 | int getKey( int &w, int j = -1 ); |
112 | void clearHighlight(); | 114 | void clearHighlight(); |
113 | 115 | ||
114 | bool *shift; | 116 | bool *shift; |
@@ -140,9 +142,11 @@ private: | |||
140 | ushort schar, mchar, echar; | 142 | ushort schar, mchar, echar; |
141 | ushort parseKoreanInput(ushort c); | 143 | ushort parseKoreanInput(ushort c); |
142 | ushort combineKoreanChars(const ushort s, const ushort m, const ushort e); | 144 | ushort combineKoreanChars(const ushort s, const ushort m, const ushort e); |
143 | ushort constoe(const ushort c); | 145 | ushort constoe(const ushort c); |
144 | 146 | ||
145 | QTimer *repeatTimer; | 147 | QTimer *repeatTimer; |
148 | |||
149 | ConfigDlg *configdlg; | ||
146 | }; | 150 | }; |
147 | 151 | ||
148 | 152 | ||