author | davipt <davipt> | 2002-06-28 13:36:05 (UTC) |
---|---|---|
committer | davipt <davipt> | 2002-06-28 13:36:05 (UTC) |
commit | d4626cc76127b7022c8555ea11afbb289714c851 (patch) (unidiff) | |
tree | 3c4606b2574285f324c21ef78fd47ba6e55d8219 /inputmethods/jumpx | |
parent | a94b5ab5cee9922fc02deb14a252b0c998dde1f7 (diff) | |
download | opie-d4626cc76127b7022c8555ea11afbb289714c851.zip opie-d4626cc76127b7022c8555ea11afbb289714c851.tar.gz opie-d4626cc76127b7022c8555ea11afbb289714c851.tar.bz2 |
Fix bug #9 except that we need something else to translate keyboard names.
-rw-r--r-- | inputmethods/jumpx/keyboardimpl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inputmethods/jumpx/keyboardimpl.cpp b/inputmethods/jumpx/keyboardimpl.cpp index 92abb09..004f0b0 100644 --- a/inputmethods/jumpx/keyboardimpl.cpp +++ b/inputmethods/jumpx/keyboardimpl.cpp | |||
@@ -64,13 +64,14 @@ QPixmap *KeyboardImpl::icon() | |||
64 | icn = new QPixmap( (const char **)icon_xpm ); | 64 | icn = new QPixmap( (const char **)icon_xpm ); |
65 | return icn; | 65 | return icn; |
66 | } | 66 | } |
67 | 67 | ||
68 | QString KeyboardImpl::name() | 68 | QString KeyboardImpl::name() |
69 | { | 69 | { |
70 | return qApp->translate( "InputMethods", "JumpX" ); | 70 | // return qApp->translate( "InputMethods", "JumpX" ); |
71 | return "JumpX"; | ||
71 | } | 72 | } |
72 | 73 | ||
73 | void KeyboardImpl::onKeyPress( QObject *receiver, const char *slot ) | 74 | void KeyboardImpl::onKeyPress( QObject *receiver, const char *slot ) |
74 | { | 75 | { |
75 | if ( input ) | 76 | if ( input ) |
76 | QObject::connect( input, SIGNAL(key(ushort,ushort,ushort,bool,bool)), receiver, slot ); | 77 | QObject::connect( input, SIGNAL(key(ushort,ushort,ushort,bool,bool)), receiver, slot ); |