summaryrefslogtreecommitdiff
path: root/inputmethods/keyboard
authordavipt <davipt>2002-06-28 13:36:05 (UTC)
committer davipt <davipt>2002-06-28 13:36:05 (UTC)
commitd4626cc76127b7022c8555ea11afbb289714c851 (patch) (unidiff)
tree3c4606b2574285f324c21ef78fd47ba6e55d8219 /inputmethods/keyboard
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/keyboard') (more/less context) (show whitespace changes)
-rw-r--r--inputmethods/keyboard/keyboardimpl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/inputmethods/keyboard/keyboardimpl.cpp b/inputmethods/keyboard/keyboardimpl.cpp
index ea61272..56e6870 100644
--- a/inputmethods/keyboard/keyboardimpl.cpp
+++ b/inputmethods/keyboard/keyboardimpl.cpp
@@ -91,26 +91,26 @@ void KeyboardImpl::resetState()
91 input->resetState(); 91 input->resetState();
92} 92}
93 93
94QPixmap *KeyboardImpl::icon() 94QPixmap *KeyboardImpl::icon()
95{ 95{
96 if ( !icn ) 96 if ( !icn )
97 icn = new QPixmap( (const char **)kb_xpm ); 97 icn = new QPixmap( (const char **)kb_xpm );
98 return icn; 98 return icn;
99} 99}
100 100
101QString KeyboardImpl::name() 101QString KeyboardImpl::name()
102{ 102{
103 return qApp->translate( "InputMethods", "Keyboard" ); 103 // return qApp->translate( "InputMethods", "Keyboard" );
104// return qApp->translate( "InputMethods", "Opti" ); 104 return "Keyboard";
105} 105}
106 106
107void KeyboardImpl::onKeyPress( QObject *receiver, const char *slot ) 107void KeyboardImpl::onKeyPress( QObject *receiver, const char *slot )
108{ 108{
109 if ( input ) 109 if ( input )
110 QObject::connect( input, SIGNAL(key(ushort,ushort,ushort,bool,bool)), receiver, slot ); 110 QObject::connect( input, SIGNAL(key(ushort,ushort,ushort,bool,bool)), receiver, slot );
111} 111}
112 112
113#ifndef QT_NO_COMPONENT 113#ifndef QT_NO_COMPONENT
114QRESULT KeyboardImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) 114QRESULT KeyboardImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface )
115{ 115{
116 *iface = 0; 116 *iface = 0;