-rw-r--r-- | inputmethods/multikey/keyboard.cpp | 6 |
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 | |||
@@ -465,17 +465,18 @@ void Keyboard::resetState() | |||
465 | 465 | ||
466 | /* korean input functions {{{1 | 466 | /* korean input functions {{{1 |
467 | * | 467 | * |
468 | * TODO | 468 | * TODO |
469 | * one major problem with this implementation is that you can't move the | 469 | * one major problem with this implementation is that you can't move the |
470 | * cursor after inputing korean chars, otherwise it will eat up and replace | 470 | * cursor after inputing korean chars, otherwise it will eat up and replace |
471 | * the char before the cursor you move to. fix that | 471 | * the char before the cursor you move to. fix that |
472 | * | 472 | * |
473 | * make a kor/eng swaping key | 473 | * make backspace delete one single char, not the whole thing if still |
474 | * editing. | ||
474 | * | 475 | * |
475 | * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | 476 | * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * |
476 | * | 477 | * |
477 | * how korean input works | 478 | * how korean input works |
478 | * | 479 | * |
479 | * all following chars means unicode char value and are in hex | 480 | * all following chars means unicode char value and are in hex |
480 | * | 481 | * |
481 | * ÃÊÀ½ = schar (start char) | 482 | * ÃÊÀ½ = schar (start char) |
@@ -765,18 +766,17 @@ ushort Keyboard::constoe(const ushort c) { | |||
765 | 766 | ||
766 | 767 | ||
767 | // Keys::Keys {{{1 | 768 | // Keys::Keys {{{1 |
768 | 769 | ||
769 | Keys::Keys() { | 770 | Keys::Keys() { |
770 | 771 | ||
771 | Config config("locale"); | 772 | Config config("locale"); |
772 | config.setGroup( "Language" ); | 773 | config.setGroup( "Language" ); |
773 | QString l = config.readEntry( "Language" ); | 774 | QString l = config.readEntry( "Language" , "en" ); |
774 | if(l.isEmpty()) l = "en"; | ||
775 | 775 | ||
776 | QString key_map = QPEApplication::qpeDir() + "/share/multikey/" | 776 | QString key_map = QPEApplication::qpeDir() + "/share/multikey/" |
777 | + /* l // testing korean for now */ | 777 | + /* l // testing korean for now */ |
778 | + "ko.keymap"; | 778 | + "ko.keymap"; |
779 | 779 | ||
780 | setKeysFromFile(key_map); | 780 | setKeysFromFile(key_map); |
781 | } | 781 | } |
782 | 782 | ||