summaryrefslogtreecommitdiff
path: root/inputmethods/pickboard
authordavipt <davipt>2002-06-28 13:36:05 (UTC)
committer davipt <davipt>2002-06-28 13:36:05 (UTC)
commitd4626cc76127b7022c8555ea11afbb289714c851 (patch) (unidiff)
tree3c4606b2574285f324c21ef78fd47ba6e55d8219 /inputmethods/pickboard
parenta94b5ab5cee9922fc02deb14a252b0c998dde1f7 (diff)
downloadopie-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') (more/less context) (ignore whitespace changes)
-rw-r--r--inputmethods/pickboard/pickboardimpl.cpp3
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
64QPixmap *PickboardImpl::icon() 64QPixmap *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
71QString PickboardImpl::name() 71QString PickboardImpl::name()
72{ 72{
73 return qApp->translate( "InputMethods", "Pickboard" ); 73 // return qApp->translate( "InputMethods", "Pickboard" );
74 return "Pickboard";
74} 75}
75 76
76void PickboardImpl::onKeyPress( QObject *receiver, const char *slot ) 77void 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
83QRESULT PickboardImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) 84QRESULT PickboardImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface )
84{ 85{
85 *iface = 0; 86 *iface = 0;