summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/src/accessible/widgets/qaccessiblewidget.cpp14
-rw-r--r--plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp2
-rw-r--r--plugins/src/inputmethods/simple/qsimpleinputcontext.cpp16
-rw-r--r--plugins/src/inputmethods/xim/qximinputcontext_x11.cpp38
4 files changed, 35 insertions, 35 deletions
diff --git a/plugins/src/accessible/widgets/qaccessiblewidget.cpp b/plugins/src/accessible/widgets/qaccessiblewidget.cpp
index fe27f8091..b40debbe7 100644
--- a/plugins/src/accessible/widgets/qaccessiblewidget.cpp
+++ b/plugins/src/accessible/widgets/qaccessiblewidget.cpp
@@ -164,7 +164,7 @@ TQRect TQAccessibleWidget::rect( int control ) const
{
#if defined(QT_DEBUG)
if ( control )
- qWarning( "TQAccessibleWidget::rect: This implementation does not support subelements! (ID %d unknown for %s)", control, widget()->className() );
+ tqWarning( "TQAccessibleWidget::rect: This implementation does not support subelements! (ID %d unknown for %s)", control, widget()->className() );
#else
Q_UNUSED(control)
#endif
@@ -179,7 +179,7 @@ int TQAccessibleWidget::navigate( NavDirection dir, int startControl ) const
{
#if defined(QT_DEBUG)
if ( startControl )
- qWarning( "TQAccessibleWidget::navigate: This implementation does not support subelements! (ID %d unknown for %s)", startControl, widget()->className() );
+ tqWarning( "TQAccessibleWidget::navigate: This implementation does not support subelements! (ID %d unknown for %s)", startControl, widget()->className() );
#else
Q_UNUSED(startControl);
#endif
@@ -249,7 +249,7 @@ int TQAccessibleWidget::navigate( NavDirection dir, int startControl ) const
return ( index != -1 ) ? index+1 : -1;
}
default:
- qWarning( "TQAccessibleWidget::navigate: unhandled request" );
+ tqWarning( "TQAccessibleWidget::navigate: unhandled request" );
break;
};
return -1;
@@ -297,7 +297,7 @@ bool TQAccessibleWidget::doDefaultAction( int control )
{
#if defined(QT_DEBUG)
if ( control )
- qWarning( "TQAccessibleWidget::doDefaultAction: This implementation does not support subelements! (ID %d unknown for %s)", control, widget()->className() );
+ tqWarning( "TQAccessibleWidget::doDefaultAction: This implementation does not support subelements! (ID %d unknown for %s)", control, widget()->className() );
#else
Q_UNUSED(control)
#endif
@@ -407,7 +407,7 @@ bool TQAccessibleWidget::setFocus( int control )
{
#if defined(QT_DEBUG)
if ( control )
- qWarning( "TQAccessibleWidget::setFocus: This implementation does not support subelements! (ID %d unknown for %s)", control, widget()->className() );
+ tqWarning( "TQAccessibleWidget::setFocus: This implementation does not support subelements! (ID %d unknown for %s)", control, widget()->className() );
#else
Q_UNUSED(control)
#endif
@@ -422,7 +422,7 @@ bool TQAccessibleWidget::setFocus( int control )
bool TQAccessibleWidget::setSelected( int, bool, bool )
{
#if defined(QT_DEBUG)
- qWarning( "TQAccessibleWidget::setSelected: This function not supported for simple widgets." );
+ tqWarning( "TQAccessibleWidget::setSelected: This function not supported for simple widgets." );
#endif
return FALSE;
}
@@ -431,7 +431,7 @@ bool TQAccessibleWidget::setSelected( int, bool, bool )
void TQAccessibleWidget::clearSelection()
{
#if defined(QT_DEBUG)
- qWarning( "TQAccessibleWidget::clearSelection: This function not supported for simple widgets." );
+ tqWarning( "TQAccessibleWidget::clearSelection: This function not supported for simple widgets." );
#endif
}
diff --git a/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp b/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp
index 5e8d36cc0..a721d9739 100644
--- a/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp
+++ b/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp
@@ -306,7 +306,7 @@ void TQMultiInputContext::changeInputMethod( TQString key )
currentIMKey = key;
- //qDebug( "TQMultiInputContext::changeInputMethod(): index=%d, slave=%s",
+ //tqDebug( "TQMultiInputContext::changeInputMethod(): index=%d, slave=%s",
// imIndex, (const char *)_slave->identifierName() );
}
}
diff --git a/plugins/src/inputmethods/simple/qsimpleinputcontext.cpp b/plugins/src/inputmethods/simple/qsimpleinputcontext.cpp
index b0cb94c11..e9b42c9ba 100644
--- a/plugins/src/inputmethods/simple/qsimpleinputcontext.cpp
+++ b/plugins/src/inputmethods/simple/qsimpleinputcontext.cpp
@@ -141,7 +141,7 @@ bool TQSimpleInputContext::filterEvent( const TQEvent *event )
// only one character. See description of
// TQInputContext::filterEvent() about key compression.
val = text[0].unicode();
- // qDebug( "str = %s", (const char*)keyevent->text().local8Bit() );
+ // tqDebug( "str = %s", (const char*)keyevent->text().local8Bit() );
}
// Store value
@@ -165,13 +165,13 @@ bool TQSimpleInputContext::filterEvent( const TQEvent *event )
void TQSimpleInputContext::setFocus()
{
- //qDebug( "TQSimpleInputContext: %p->setFocus(), focusWidget()=%p",
+ //tqDebug( "TQSimpleInputContext: %p->setFocus(), focusWidget()=%p",
//this, focusWidget() );
}
void TQSimpleInputContext::unsetFocus()
{
- //qDebug( "TQSimpleInputContext: %p->unsetFocus(), focusWidget()=%p",
+ //tqDebug( "TQSimpleInputContext: %p->unsetFocus(), focusWidget()=%p",
//this, focusWidget() );
reset();
}
@@ -189,7 +189,7 @@ void TQSimpleInputContext::mouseHandler( int x, TQEvent::Type type,
case TQEvent::MouseButtonRelease:
case TQEvent::MouseButtonDblClick:
case TQEvent::MouseMove:
- // qDebug( "TQSimpleInputContext::mouseHandler: "
+ // tqDebug( "TQSimpleInputContext::mouseHandler: "
// "x=%d, type=%d, button=%d, state=%d", x, type, button, state );
break;
default:
@@ -241,7 +241,7 @@ bool TQSimpleInputContext::checkComposeTable( uint* composeBuffer, const TQCompo
// no entries were found
if ( p == composeTable->data + composeTable->size ) {
- // qDebug( "no match" );
+ // tqDebug( "no match" );
clearComposeBuffer();
return FALSE;
}
@@ -251,18 +251,18 @@ bool TQSimpleInputContext::checkComposeTable( uint* composeBuffer, const TQCompo
// check if partial match
if ( composeBuffer[i] == 0 && p->keys[i] ) {
- // qDebug("partial match");
+ // tqDebug("partial match");
return TRUE;
}
if ( composeBuffer[i] != p->keys[i] ) {
- // qDebug("different entry");
+ // tqDebug("different entry");
clearComposeBuffer();
return i!=0;
}
}
- // qDebug("match exactly");
+ // tqDebug("match exactly");
// match exactly
commitChar( p->value );
diff --git a/plugins/src/inputmethods/xim/qximinputcontext_x11.cpp b/plugins/src/inputmethods/xim/qximinputcontext_x11.cpp
index a184874bc..108a31e7a 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");
TQXIMInputContext::create_xim();
}
@@ -94,7 +94,7 @@ extern "C" {
XPointer /*client_data*/,
XPointer /*call_data*/)
{
- // qDebug("xim_destroy_callback");
+ // tqDebug("xim_destroy_callback");
TQXIMInputContext::close_xim();
Display *dpy = TQPaintDevice::x11AppDisplay();
XRegisterIMInstantiateCallback(dpy, 0, 0, 0,
@@ -170,7 +170,7 @@ extern "C" {
TQXIMInputContext *qic = (TQXIMInputContext *) 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( TQEvent::IMStart );
#ifdef QT_XIM_DEBUG
- qDebug("compose start");
+ tqDebug("compose start");
#endif // QT_XIM_DEBUG
return 0;
@@ -190,7 +190,7 @@ extern "C" {
TQXIMInputContext *qic = (TQXIMInputContext *) 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 TQXIMInputContext::setHolderWidget( TQWidget *widget )
#if !defined(QT_NO_XIM)
fontsetRefCount++;
if (! qt_xim) {
- qWarning("TQInputContext: no input method context available");
+ tqWarning("TQInputContext: no input method context available");
return;
}
if (! widget->isTopLevel()) {
- // qWarning("TQInputContext: cannot create input context for non-toplevel widgets");
+ // tqWarning("TQInputContext: cannot create input context for non-toplevel widgets");
return;
}
@@ -420,7 +420,7 @@ void TQXIMInputContext::setHolderWidget( TQWidget *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 TQXIMInputContext::init_xim()
ximServerName = "";
if ( !XSupportsLocale() )
- qWarning("TQt: Locales not supported on X server");
+ tqWarning("TQt: Locales not supported on X server");
#ifdef USE_X11R6_XIM
else if ( XSetLocaleModifiers (ximServerName.ascii()) == 0 )
- qWarning( "TQt: Cannot set locale modifiers: %s",
+ tqWarning( "TQt: Cannot set locale modifiers: %s",
ximServerName.ascii());
else {
Display *dpy = TQPaintDevice::x11AppDisplay();
@@ -499,7 +499,7 @@ void TQXIMInputContext::init_xim()
}
#else // !USE_X11R6_XIM
else if ( XSetLocaleModifiers ("") == 0 )
- qWarning("TQt: Cannot set locale modifiers");
+ tqWarning("TQt: Cannot set locale modifiers");
else
TQXIMInputContext::create_xim();
#endif // USE_X11R6_XIM
@@ -522,7 +522,7 @@ void TQXIMInputContext::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 TQXIMInputContext::create_xim()
}
}
- // qDebug("TQApplication: using im style %lx", qt_xim_style);
+ // tqDebug("TQApplication: using im style %lx", qt_xim_style);
XFree( (char *)styles );
}
@@ -566,7 +566,7 @@ void TQXIMInputContext::create_xim()
} else {
// Give up
- qWarning( "No supported input style found."
+ tqWarning( "No supported input style found."
" See InputMethod documentation.");
TQXIMInputContext::close_xim();
}
@@ -714,7 +714,7 @@ void TQXIMInputContext::reset()
#if !defined(QT_NO_XIM)
if ( focusWidget() && isComposing() && ! composingText.isNull() ) {
#ifdef QT_XIM_DEBUG
- qDebug("TQXIMInputContext::reset: composing - sending IMEnd (empty) to %p",
+ tqDebug("TQXIMInputContext::reset: composing - sending IMEnd (empty) to %p",
focusWidget() );
#endif // QT_XIM_DEBUG
@@ -742,7 +742,7 @@ void TQXIMInputContext::resetClientState()
void TQXIMInputContext::close( const TQString &errMsg )
{
- qDebug( errMsg );
+ tqDebug( errMsg );
emit deletionRequested();
}