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/pickboard/pickboardimpl.cpp | |
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.
Diffstat (limited to 'inputmethods/pickboard/pickboardimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | inputmethods/pickboard/pickboardimpl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inputmethods/pickboard/pickboardimpl.cpp b/inputmethods/pickboard/pickboardimpl.cpp index a4e8f02..617acff 100644 --- a/inputmethods/pickboard/pickboardimpl.cpp +++ b/inputmethods/pickboard/pickboardimpl.cpp | |||
@@ -61,25 +61,26 @@ void PickboardImpl::resetState() | |||
61 | pickboard->resetState(); | 61 | pickboard->resetState(); |
62 | } | 62 | } |
63 | 63 | ||
64 | QPixmap *PickboardImpl::icon() | 64 | QPixmap *PickboardImpl::icon() |
65 | { | 65 | { |
66 | if ( !icn ) | 66 | if ( !icn ) |
67 | icn = new QPixmap( (const char **)pb_xpm ); | 67 | icn = new QPixmap( (const char **)pb_xpm ); |
68 | return icn; | 68 | return icn; |
69 | } | 69 | } |
70 | 70 | ||
71 | QString PickboardImpl::name() | 71 | QString PickboardImpl::name() |
72 | { | 72 | { |
73 | return qApp->translate( "InputMethods", "Pickboard" ); | 73 | // return qApp->translate( "InputMethods", "Pickboard" ); |
74 | return "Pickboard"; | ||
74 | } | 75 | } |
75 | 76 | ||
76 | void PickboardImpl::onKeyPress( QObject *receiver, const char *slot ) | 77 | void PickboardImpl::onKeyPress( QObject *receiver, const char *slot ) |
77 | { | 78 | { |
78 | if ( pickboard ) | 79 | if ( pickboard ) |
79 | QObject::connect( pickboard, SIGNAL(key(ushort,ushort,ushort,bool,bool)), receiver, slot ); | 80 | QObject::connect( pickboard, SIGNAL(key(ushort,ushort,ushort,bool,bool)), receiver, slot ); |
80 | } | 81 | } |
81 | 82 | ||
82 | #ifndef QT_NO_COMPONENT | 83 | #ifndef QT_NO_COMPONENT |
83 | QRESULT PickboardImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) | 84 | QRESULT PickboardImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) |
84 | { | 85 | { |
85 | *iface = 0; | 86 | *iface = 0; |