summaryrefslogtreecommitdiffstats
path: root/redhat/tqt3/qt-x11-immodule-unified-qt3.3.5-20051012-quiet.patch
blob: 5e5d9773ac539285165d4b3689daa5ed873e26bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
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
--- qt-x11-free-3.3.5.orig/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp	2005-10-13 16:09:36.000000000 +0200
+++ qt-x11-free-3.3.5/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp	2005-10-13 16:09:31.000000000 +0200
@@ -306,8 +306,8 @@
 
         currentIMKey = key;
 
-	qDebug( "QMultiInputContext::changeInputMethod(): index=%d, slave=%s",
-		imIndex, (const char *)_slave->identifierName() );
+	/* qDebug( "QMultiInputContext::changeInputMethod(): index=%d, slave=%s",
+		imIndex, (const char *)_slave->identifierName() ); */
     }
 }
 
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
--- qt-x11-free-3.3.5.orig/plugins/src/inputmethods/simple/qsimpleinputcontext.cpp	2005-10-13 16:09:36.000000000 +0200
+++ qt-x11-free-3.3.5/plugins/src/inputmethods/simple/qsimpleinputcontext.cpp	2005-10-13 16:09:31.000000000 +0200
@@ -140,7 +140,7 @@
         // only one character. See description of
         // QInputContext::filterEvent() about key compression.
         val = text[0].unicode();
-        qDebug( "str = %s", (const char*)keyevent->text().local8Bit() );
+        // qDebug( "str = %s", (const char*)keyevent->text().local8Bit() );
     }
 
     // Store value
@@ -164,14 +164,14 @@
 
 void QSimpleInputContext::setFocus()
 {
-    qDebug( "QSimpleInputContext: %p->setFocus(), focusWidget()=%p",
-            this, focusWidget() );
+    /* qDebug( "QSimpleInputContext: %p->setFocus(), focusWidget()=%p",
+            this, focusWidget() ); */
 }
 
 void QSimpleInputContext::unsetFocus()
 {
-    qDebug( "QSimpleInputContext: %p->unsetFocus(), focusWidget()=%p",
-            this, focusWidget() );
+    /* qDebug( "QSimpleInputContext: %p->unsetFocus(), focusWidget()=%p",
+            this, focusWidget() ); */
     reset();
 }
 
@@ -188,8 +188,8 @@
     case QEvent::MouseButtonRelease:
     case QEvent::MouseButtonDblClick:
     case QEvent::MouseMove:
-        qDebug( "QSimpleInputContext::mouseHandler: "
-                "x=%d, type=%d, button=%d, state=%d", x, type, button, state );
+        /* qDebug( "QSimpleInputContext::mouseHandler: "
+                "x=%d, type=%d, button=%d, state=%d", x, type, button, state ); */
         break;
     default:
         break;
@@ -240,7 +240,7 @@
 
     // no entries were found
     if ( p == composeTable->data + composeTable->size ) {
-        qDebug( "no match" );
+        // qDebug( "no match" );
         clearComposeBuffer();
         return FALSE;
     }
@@ -250,18 +250,18 @@
 
         // check if partial match
         if ( composeBuffer[i] == 0 && p->keys[i] ) {
-            qDebug("partial match");
+            // qDebug("partial match");
             return TRUE;
         }
 
         if ( composeBuffer[i] != p->keys[i] ) {
-            qDebug("different entry");
+            // qDebug("different entry");
             clearComposeBuffer();
             return i!=0;
         }
     }
 
-    qDebug("match exactly");
+    // qDebug("match exactly");
 
     // match exactly
     commitChar( p->value );
diff -Nur qt-x11-free-3.3.5.orig/src/kernel/qinputcontext.cpp qt-x11-free-3.3.5/src/kernel/qinputcontext.cpp
--- qt-x11-free-3.3.5.orig/src/kernel/qinputcontext.cpp	2005-10-13 16:09:37.000000000 +0200
+++ qt-x11-free-3.3.5/src/kernel/qinputcontext.cpp	2005-10-13 16:09:31.000000000 +0200
@@ -526,17 +526,17 @@
 	return;
 
     if ( type == QEvent::IMStart ) {
-	qDebug( "sending IMStart with %d chars to %p",
-		text.length(), receiver );
+	/* qDebug( "sending IMStart with %d chars to %p",
+		text.length(), receiver ); */
 	event = new QIMEvent( type, text, cursorPosition );
     } else if ( type == QEvent::IMEnd ) {
-	qDebug( "sending IMEnd with %d chars to %p, text=%s",
-		text.length(), receiver, (const char*)text.local8Bit() );
+	/* qDebug( "sending IMEnd with %d chars to %p, text=%s",
+		text.length(), receiver, (const char*)text.local8Bit() ); */
 	event = new QIMEvent( type, text, cursorPosition );
     } else if ( type == QEvent::IMCompose ) {
-	qDebug( "sending IMCompose to %p with %d chars, cpos=%d, sellen=%d, text=%s",
+	/* qDebug( "sending IMCompose to %p with %d chars, cpos=%d, sellen=%d, text=%s",
 		receiver, text.length(), cursorPosition, selLength,
-		(const char*)text.local8Bit() );
+		(const char*)text.local8Bit() ); */
 	event = new QIMComposeEvent( type, text, cursorPosition, selLength );
     }
 
--- qt-x11-free-3.3.5/plugins/src/inputmethods/xim/qximinputcontext_x11.cpp.quiet	2005-10-13 19:00:56.000000000 +0200
+++ qt-x11-free-3.3.5/plugins/src/inputmethods/xim/qximinputcontext_x11.cpp	2005-10-25 15:36:43.000000000 +0200
@@ -356,7 +356,7 @@
 #if !defined(QT_NO_XIM)
     fontsetRefCount++;
     if (! qt_xim) {
-	qWarning("QInputContext: no input method context available");
+	// qWarning("QInputContext: no input method context available");
 	return;
     }
 
@@ -742,7 +742,7 @@
 
 void QXIMInputContext::close( const QString &errMsg )
 {
-    qDebug( errMsg );
+    // qDebug( errMsg );
     emit deletionRequested();
 }