summaryrefslogtreecommitdiffstats
path: root/plugins/src/inputmethods/xim/qximinputcontext_x11.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/src/inputmethods/xim/qximinputcontext_x11.cpp')
-rw-r--r--plugins/src/inputmethods/xim/qximinputcontext_x11.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/plugins/src/inputmethods/xim/qximinputcontext_x11.cpp b/plugins/src/inputmethods/xim/qximinputcontext_x11.cpp
index a0438bc..a778d5f 100644
--- a/plugins/src/inputmethods/xim/qximinputcontext_x11.cpp
+++ b/plugins/src/inputmethods/xim/qximinputcontext_x11.cpp
@@ -86,7 +86,7 @@ extern "C" {
XPointer /*client_data*/,
XPointer /*call_data*/)
{
- // qDebug("xim_create_callback");
+ // tqDebug("xim_create_callback");
QXIMInputContext::create_xim();
}
@@ -94,7 +94,7 @@ extern "C" {
XPointer /*client_data*/,
XPointer /*call_data*/)
{
- // qDebug("xim_destroy_callback");
+ // tqDebug("xim_destroy_callback");
QXIMInputContext::close_xim();
Display *dpy = QPaintDevice::x11AppDisplay();
XRegisterIMInstantiateCallback(dpy, 0, 0, 0,
@@ -170,7 +170,7 @@ extern "C" {
QXIMInputContext *qic = (QXIMInputContext *) client_data;
if (! qic) {
#ifdef QT_XIM_DEBUG
- qDebug("compose start: no qic");
+ tqDebug("compose start: no qic");
#endif // QT_XIM_DEBUG
return 0;
@@ -180,7 +180,7 @@ extern "C" {
qic->sendIMEvent( QEvent::IMStart );
#ifdef QT_XIM_DEBUG
- qDebug("compose start");
+ tqDebug("compose start");
#endif // QT_XIM_DEBUG
return 0;
@@ -190,7 +190,7 @@ extern "C" {
QXIMInputContext *qic = (QXIMInputContext *) client_data;
if (! qic) {
#ifdef QT_XIM_DEBUG
- qDebug("compose event: invalid compose event %p", qic);
+ tqDebug("compose event: invalid compose event %p", qic);
#endif // QT_XIM_DEBUG
return 0;
@@ -202,7 +202,7 @@ extern "C" {
send_imstart = TRUE;
} else if ( ! qic->isComposing() || ! qic->hasFocus() ) {
#ifdef QT_XIM_DEBUG
- qDebug( "compose event: invalid compose event composing=%d hasFocus=%d",
+ tqDebug( "compose event: invalid compose event composing=%d hasFocus=%d",
qic->isComposing(), qic->hasFocus() );
#endif // QT_XIM_DEBUG
@@ -221,7 +221,7 @@ extern "C" {
! drawstruct->chg_length && ! text ) {
if( qic->composingText.isEmpty() ) {
#ifdef QT_XIM_DEBUG
- qDebug( "compose emptied" );
+ tqDebug( "compose emptied" );
#endif // QT_XIM_DEBUG
// if the composition string has been emptied, we need
// to send an IMEnd event
@@ -296,7 +296,7 @@ extern "C" {
bool qt_compose_emptied = qic->composingText.isEmpty();
if ( qt_compose_emptied ) {
#ifdef QT_XIM_DEBUG
- qDebug( "compose emptied" );
+ tqDebug( "compose emptied" );
#endif // QT_XIM_DEBUG
// if the composition string has been emptied, we need
// to send an IMEnd event
@@ -356,12 +356,12 @@ void QXIMInputContext::setHolderWidget( QWidget *widget )
#if !defined(QT_NO_XIM)
fontsetRefCount++;
if (! qt_xim) {
- qWarning("QInputContext: no input method context available");
+ tqWarning("QInputContext: no input method context available");
return;
}
if (! widget->isTopLevel()) {
- // qWarning("QInputContext: cannot create input context for non-toplevel widgets");
+ // tqWarning("QInputContext: cannot create input context for non-toplevel widgets");
return;
}
@@ -420,7 +420,7 @@ void QXIMInputContext::setHolderWidget( QWidget *widget )
(char *) 0);
if (! ic)
- qFatal("Failed to create XIM input context!");
+ tqFatal("Failed to create XIM input context!");
// when resetting the input context, preserve the input state
(void) XSetICValues((XIC) ic, XNResetState, XIMPreserveState, (char *) 0);
@@ -483,11 +483,11 @@ void QXIMInputContext::init_xim()
ximServerName = "";
if ( !XSupportsLocale() )
- qWarning("Qt: Locales not supported on X server");
+ tqWarning("Qt: Locales not supported on X server");
#ifdef USE_X11R6_XIM
else if ( XSetLocaleModifiers (ximServerName.ascii()) == 0 )
- qWarning( "Qt: Cannot set locale modifiers: %s",
+ tqWarning( "Qt: Cannot set locale modifiers: %s",
ximServerName.ascii());
else {
Display *dpy = QPaintDevice::x11AppDisplay();
@@ -499,7 +499,7 @@ void QXIMInputContext::init_xim()
}
#else // !USE_X11R6_XIM
else if ( XSetLocaleModifiers ("") == 0 )
- qWarning("Qt: Cannot set locale modifiers");
+ tqWarning("Qt: Cannot set locale modifiers");
else
QXIMInputContext::create_xim();
#endif // USE_X11R6_XIM
@@ -522,7 +522,7 @@ void QXIMInputContext::create_xim()
destroy.callback = (XIMProc) xim_destroy_callback;
destroy.client_data = 0;
if ( XSetIMValues( qt_xim, XNDestroyCallback, &destroy, (char *) 0 ) != 0 )
- qWarning( "Xlib doesn't support destroy callback");
+ tqWarning( "Xlib doesn't support destroy callback");
#endif // USE_X11R6_XIM
XIMStyles *styles = 0;
@@ -553,7 +553,7 @@ void QXIMInputContext::create_xim()
}
}
- // qDebug("QApplication: using im style %lx", qt_xim_style);
+ // tqDebug("QApplication: using im style %lx", qt_xim_style);
XFree( (char *)styles );
}
@@ -566,7 +566,7 @@ void QXIMInputContext::create_xim()
} else {
// Give up
- qWarning( "No supported input style found."
+ tqWarning( "No supported input style found."
" See InputMethod documentation.");
QXIMInputContext::close_xim();
}
@@ -714,7 +714,7 @@ void QXIMInputContext::reset()
#if !defined(QT_NO_XIM)
if ( focusWidget() && isComposing() && ! composingText.isNull() ) {
#ifdef QT_XIM_DEBUG
- qDebug("QXIMInputContext::reset: composing - sending IMEnd (empty) to %p",
+ tqDebug("QXIMInputContext::reset: composing - sending IMEnd (empty) to %p",
focusWidget() );
#endif // QT_XIM_DEBUG
@@ -742,7 +742,7 @@ void QXIMInputContext::resetClientState()
void QXIMInputContext::close( const QString &errMsg )
{
- qDebug( errMsg );
+ tqDebug( errMsg );
emit deletionRequested();
}