summaryrefslogtreecommitdiff
authorhash <hash>2002-08-12 07:40:48 (UTC)
committer hash <hash>2002-08-12 07:40:48 (UTC)
commit895a6e1cebade986110758c57cafdadd942a63ff (patch) (side-by-side diff)
tree626a808b4f7ff27e7efd02a0573544fc7c4d04a7
parent063b97e6cde3688f85969d7515ff75044fe02c21 (diff)
downloadopie-895a6e1cebade986110758c57cafdadd942a63ff.zip
opie-895a6e1cebade986110758c57cafdadd942a63ff.tar.gz
opie-895a6e1cebade986110758c57cafdadd942a63ff.tar.bz2
korean support only
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--inputmethods/multikey/keyboard.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/inputmethods/multikey/keyboard.cpp b/inputmethods/multikey/keyboard.cpp
index 3e43978..d0cfa51 100644
--- a/inputmethods/multikey/keyboard.cpp
+++ b/inputmethods/multikey/keyboard.cpp
@@ -461,25 +461,26 @@ void Keyboard::resetState()
{
schar = mchar = echar = 0;
picks->resetState();
}
/* korean input functions {{{1
*
* TODO
* one major problem with this implementation is that you can't move the
* cursor after inputing korean chars, otherwise it will eat up and replace
* the char before the cursor you move to. fix that
*
- * make a kor/eng swaping key
+ * make backspace delete one single char, not the whole thing if still
+ * editing.
*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
* how korean input works
*
* all following chars means unicode char value and are in hex
*
* ÃÊÀ½ = schar (start char)
* ÁßÀ½ = mchar (middle char)
* ³¡À½ = echar (end char)
*
* there are 19 schars. unicode position is at 1100 - 1112
@@ -761,26 +762,25 @@ ushort Keyboard::constoe(const ushort c) {
}
}
}
// Keys::Keys {{{1
Keys::Keys() {
Config config("locale");
config.setGroup( "Language" );
- QString l = config.readEntry( "Language" );
- if(l.isEmpty()) l = "en";
+ QString l = config.readEntry( "Language" , "en" );
QString key_map = QPEApplication::qpeDir() + "/share/multikey/"
+ /* l // testing korean for now */
+ "ko.keymap";
setKeysFromFile(key_map);
}
Keys::Keys(const char * filename) {
setKeysFromFile(filename);
}