|
|
106311 |
diff -Nur qt-x11-free-3.3.5.orig/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp qt-x11-free-3.3.5/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp
|
|
|
106311 |
--- qt-x11-free-3.3.5.orig/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp 2005-10-13 16:09:36.000000000 +0200
|
|
|
106311 |
+++ qt-x11-free-3.3.5/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp 2005-10-13 16:09:31.000000000 +0200
|
|
|
106311 |
@@ -306,8 +306,8 @@
|
|
|
106311 |
|
|
|
106311 |
currentIMKey = key;
|
|
|
106311 |
|
|
|
106311 |
- qDebug( "QMultiInputContext::changeInputMethod(): index=%d, slave=%s",
|
|
|
106311 |
- imIndex, (const char *)_slave->identifierName() );
|
|
|
106311 |
+ /* qDebug( "QMultiInputContext::changeInputMethod(): index=%d, slave=%s",
|
|
|
106311 |
+ imIndex, (const char *)_slave->identifierName() ); */
|
|
|
106311 |
}
|
|
|
106311 |
}
|
|
|
106311 |
|
|
|
106311 |
diff -Nur qt-x11-free-3.3.5.orig/plugins/src/inputmethods/simple/qsimpleinputcontext.cpp qt-x11-free-3.3.5/plugins/src/inputmethods/simple/qsimpleinputcontext.cpp
|
|
|
106311 |
--- qt-x11-free-3.3.5.orig/plugins/src/inputmethods/simple/qsimpleinputcontext.cpp 2005-10-13 16:09:36.000000000 +0200
|
|
|
106311 |
+++ qt-x11-free-3.3.5/plugins/src/inputmethods/simple/qsimpleinputcontext.cpp 2005-10-13 16:09:31.000000000 +0200
|
|
|
106311 |
@@ -140,7 +140,7 @@
|
|
|
106311 |
// only one character. See description of
|
|
|
106311 |
// QInputContext::filterEvent() about key compression.
|
|
|
106311 |
val = text[0].unicode();
|
|
|
106311 |
- qDebug( "str = %s", (const char*)keyevent->text().local8Bit() );
|
|
|
106311 |
+ // qDebug( "str = %s", (const char*)keyevent->text().local8Bit() );
|
|
|
106311 |
}
|
|
|
106311 |
|
|
|
106311 |
// Store value
|
|
|
106311 |
@@ -164,14 +164,14 @@
|
|
|
106311 |
|
|
|
106311 |
void QSimpleInputContext::setFocus()
|
|
|
106311 |
{
|
|
|
106311 |
- qDebug( "QSimpleInputContext: %p->setFocus(), focusWidget()=%p",
|
|
|
106311 |
- this, focusWidget() );
|
|
|
106311 |
+ /* qDebug( "QSimpleInputContext: %p->setFocus(), focusWidget()=%p",
|
|
|
106311 |
+ this, focusWidget() ); */
|
|
|
106311 |
}
|
|
|
106311 |
|
|
|
106311 |
void QSimpleInputContext::unsetFocus()
|
|
|
106311 |
{
|
|
|
106311 |
- qDebug( "QSimpleInputContext: %p->unsetFocus(), focusWidget()=%p",
|
|
|
106311 |
- this, focusWidget() );
|
|
|
106311 |
+ /* qDebug( "QSimpleInputContext: %p->unsetFocus(), focusWidget()=%p",
|
|
|
106311 |
+ this, focusWidget() ); */
|
|
|
106311 |
reset();
|
|
|
106311 |
}
|
|
|
106311 |
|
|
|
106311 |
@@ -188,8 +188,8 @@
|
|
|
106311 |
case QEvent::MouseButtonRelease:
|
|
|
106311 |
case QEvent::MouseButtonDblClick:
|
|
|
106311 |
case QEvent::MouseMove:
|
|
|
106311 |
- qDebug( "QSimpleInputContext::mouseHandler: "
|
|
|
106311 |
- "x=%d, type=%d, button=%d, state=%d", x, type, button, state );
|
|
|
106311 |
+ /* qDebug( "QSimpleInputContext::mouseHandler: "
|
|
|
106311 |
+ "x=%d, type=%d, button=%d, state=%d", x, type, button, state ); */
|
|
|
106311 |
break;
|
|
|
106311 |
default:
|
|
|
106311 |
break;
|
|
|
106311 |
@@ -240,7 +240,7 @@
|
|
|
106311 |
|
|
|
106311 |
// no entries were found
|
|
|
106311 |
if ( p == composeTable->data + composeTable->size ) {
|
|
|
106311 |
- qDebug( "no match" );
|
|
|
106311 |
+ // qDebug( "no match" );
|
|
|
106311 |
clearComposeBuffer();
|
|
|
106311 |
return FALSE;
|
|
|
106311 |
}
|
|
|
106311 |
@@ -250,18 +250,18 @@
|
|
|
106311 |
|
|
|
106311 |
// check if partial match
|
|
|
106311 |
if ( composeBuffer[i] == 0 && p->keys[i] ) {
|
|
|
106311 |
- qDebug("partial match");
|
|
|
106311 |
+ // qDebug("partial match");
|
|
|
106311 |
return TRUE;
|
|
|
106311 |
}
|
|
|
106311 |
|
|
|
106311 |
if ( composeBuffer[i] != p->keys[i] ) {
|
|
|
106311 |
- qDebug("different entry");
|
|
|
106311 |
+ // qDebug("different entry");
|
|
|
106311 |
clearComposeBuffer();
|
|
|
106311 |
return i!=0;
|
|
|
106311 |
}
|
|
|
106311 |
}
|
|
|
106311 |
|
|
|
106311 |
- qDebug("match exactly");
|
|
|
106311 |
+ // qDebug("match exactly");
|
|
|
106311 |
|
|
|
106311 |
// match exactly
|
|
|
106311 |
commitChar( p->value );
|
|
|
106311 |
diff -Nur qt-x11-free-3.3.5.orig/src/kernel/qinputcontext.cpp qt-x11-free-3.3.5/src/kernel/qinputcontext.cpp
|
|
|
106311 |
--- qt-x11-free-3.3.5.orig/src/kernel/qinputcontext.cpp 2005-10-13 16:09:37.000000000 +0200
|
|
|
106311 |
+++ qt-x11-free-3.3.5/src/kernel/qinputcontext.cpp 2005-10-13 16:09:31.000000000 +0200
|
|
|
106311 |
@@ -526,17 +526,17 @@
|
|
|
106311 |
return;
|
|
|
106311 |
|
|
|
106311 |
if ( type == QEvent::IMStart ) {
|
|
|
106311 |
- qDebug( "sending IMStart with %d chars to %p",
|
|
|
106311 |
- text.length(), receiver );
|
|
|
106311 |
+ /* qDebug( "sending IMStart with %d chars to %p",
|
|
|
106311 |
+ text.length(), receiver ); */
|
|
|
106311 |
event = new QIMEvent( type, text, cursorPosition );
|
|
|
106311 |
} else if ( type == QEvent::IMEnd ) {
|
|
|
106311 |
- qDebug( "sending IMEnd with %d chars to %p, text=%s",
|
|
|
106311 |
- text.length(), receiver, (const char*)text.local8Bit() );
|
|
|
106311 |
+ /* qDebug( "sending IMEnd with %d chars to %p, text=%s",
|
|
|
106311 |
+ text.length(), receiver, (const char*)text.local8Bit() ); */
|
|
|
106311 |
event = new QIMEvent( type, text, cursorPosition );
|
|
|
106311 |
} else if ( type == QEvent::IMCompose ) {
|
|
|
106311 |
- qDebug( "sending IMCompose to %p with %d chars, cpos=%d, sellen=%d, text=%s",
|
|
|
106311 |
+ /* qDebug( "sending IMCompose to %p with %d chars, cpos=%d, sellen=%d, text=%s",
|
|
|
106311 |
receiver, text.length(), cursorPosition, selLength,
|
|
|
106311 |
- (const char*)text.local8Bit() );
|
|
|
106311 |
+ (const char*)text.local8Bit() ); */
|
|
|
106311 |
event = new QIMComposeEvent( type, text, cursorPosition, selLength );
|
|
|
106311 |
}
|
|
|
106311 |
|
|
|
106311 |
--- qt-x11-free-3.3.5/plugins/src/inputmethods/xim/qximinputcontext_x11.cpp.quiet 2005-10-13 19:00:56.000000000 +0200
|
|
|
106311 |
+++ qt-x11-free-3.3.5/plugins/src/inputmethods/xim/qximinputcontext_x11.cpp 2005-10-25 15:36:43.000000000 +0200
|
|
|
106311 |
@@ -356,7 +356,7 @@
|
|
|
106311 |
#if !defined(QT_NO_XIM)
|
|
|
106311 |
fontsetRefCount++;
|
|
|
106311 |
if (! qt_xim) {
|
|
|
106311 |
- qWarning("QInputContext: no input method context available");
|
|
|
106311 |
+ // qWarning("QInputContext: no input method context available");
|
|
|
106311 |
return;
|
|
|
106311 |
}
|
|
|
106311 |
|
|
|
106311 |
@@ -742,7 +742,7 @@
|
|
|
106311 |
|
|
|
106311 |
void QXIMInputContext::close( const QString &errMsg )
|
|
|
106311 |
{
|
|
|
106311 |
- qDebug( errMsg );
|
|
|
106311 |
+ // qDebug( errMsg );
|
|
|
106311 |
emit deletionRequested();
|
|
|
106311 |
}
|
|
|
106311 |
|