author | hash <hash> | 2002-10-14 16:53:01 (UTC) |
---|---|---|
committer | hash <hash> | 2002-10-14 16:53:01 (UTC) |
commit | 03d355295dd4fd6c37e54d281280127c0cf8a068 (patch) (side-by-side diff) | |
tree | f36c74dd7909644a2ade8b4fc8fe2aeb4af32e90 /inputmethods/multikey/keyboard.h | |
parent | 8168216f961dc60db1acdea8671eeaa93e3ed560 (diff) | |
download | opie-03d355295dd4fd6c37e54d281280127c0cf8a068.zip opie-03d355295dd4fd6c37e54d281280127c0cf8a068.tar.gz opie-03d355295dd4fd6c37e54d281280127c0cf8a068.tar.bz2 |
patch hector sent it for accent and back accent support
Diffstat (limited to 'inputmethods/multikey/keyboard.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | inputmethods/multikey/keyboard.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/inputmethods/multikey/keyboard.h b/inputmethods/multikey/keyboard.h index 8af80d0..bc74e71 100644 --- a/inputmethods/multikey/keyboard.h +++ b/inputmethods/multikey/keyboard.h @@ -65,8 +65,10 @@ public: ushort shift(const ushort); ushort meta(const ushort); ushort circumflex(const ushort); ushort diaeresis(const ushort); + ushort baccent(const ushort); + ushort accent(const ushort); QImage *pix(const int row, const int col); int numKeys(const int row); void setKeysFromFile(const char *filename); void setKey(const int row, const int qcode, const ushort unicode, @@ -91,8 +93,10 @@ private: QMap<ushort,ushort> shiftMap; QMap<ushort,ushort> metaMap; QMap<ushort,ushort> circumflexMap; QMap<ushort,ushort> diaeresisMap; + QMap<ushort,ushort> baccentMap; + QMap<ushort,ushort> accentMap; }; class Keyboard : public QFrame @@ -137,8 +141,10 @@ private: bool *alt; bool *meta; bool *circumflex; bool *diaeresis; + bool *baccent; + bool *accent; uint useLargeKeys:1; uint usePicks:1; uint useRepeat:1; |