diff options
Diffstat (limited to 'extensions/nsplugin/src/qnp.cpp')
-rw-r--r-- | extensions/nsplugin/src/qnp.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/extensions/nsplugin/src/qnp.cpp b/extensions/nsplugin/src/qnp.cpp index 108223fa3..d60bc8f4e 100644 --- a/extensions/nsplugin/src/qnp.cpp +++ b/extensions/nsplugin/src/qnp.cpp @@ -800,7 +800,7 @@ TQNPWidget::TQNPWidget() : pi(next_pi) { if (!next_pi) { - qFatal("TQNPWidget must only be created within call to newWindow"); + tqFatal("TQNPWidget must only be created within call to newWindow"); } next_pi->widget = this; next_pi = 0; @@ -942,7 +942,7 @@ TQNPInstance::TQNPInstance() : pi(next_pi) { if (!next_pi) { - qFatal("TQNPInstance must only be created within call to newInstance"); + tqFatal("TQNPInstance must only be created within call to newInstance"); } next_pi->instance = this; next_pi = 0; @@ -1207,7 +1207,7 @@ const char* TQNPInstance::arg(const char* name) const { for (int i=0; i<pi->argc; i++) { // SGML: names are case insensitive - if ( qstricmp( name, pi->argn[i] ) == 0 ) { + if ( tqstricmp( name, pi->argn[i] ) == 0 ) { if (pi->argv[i].isEmpty()) return ""; else @@ -1558,7 +1558,7 @@ void* TQNPlugin::getJavaClass() */ void TQNPlugin::unuseJavaClass() { - qFatal("TQNPlugin::unuseJavaClass() must be overridden along with getJavaClass()"); + tqFatal("TQNPlugin::unuseJavaClass() must be overridden along with getJavaClass()"); } /*! @@ -1625,7 +1625,7 @@ bool TQNPXt::redeliverEvent( XEvent *event ) { // redeliver the event to Xt, NOT through TQt if ( static_d->dispatchers[ event->type ]( event ) ) { - // qDebug( "Xt: redelivered event" ); + // tqDebug( "Xt: redelivered event" ); return TRUE; } return FALSE; @@ -1709,11 +1709,11 @@ Boolean qnpxt_event_dispatcher( XEvent *event ) if ( w ) { if ( !grabbed && ( event->type == XFocusIn && event->xfocus.mode == NotifyGrab ) ) { - // qDebug( "Xt: grab started" ); + // tqDebug( "Xt: grab started" ); grabbed = TRUE; } else if ( grabbed && ( event->type == XFocusOut && event->xfocus.mode == NotifyUngrab ) ) { - // qDebug( "Xt: grab ended" ); + // tqDebug( "Xt: grab ended" ); grabbed = FALSE; } } @@ -1760,7 +1760,7 @@ Boolean qnpxt_event_dispatcher( XEvent *event ) qnpxt_keep_alive(); if ( delivered ) { - // qDebug( "TQt: delivered event" ); + // tqDebug( "TQt: delivered event" ); return True; } @@ -1775,7 +1775,7 @@ Boolean qnpxt_event_dispatcher( XEvent *event ) case EnterNotify: case LeaveNotify: case ClientMessage: - // qDebug( "TQt: active popup - discarding event" ); + // tqDebug( "TQt: active popup - discarding event" ); return True; default: @@ -1787,7 +1787,7 @@ Boolean qnpxt_event_dispatcher( XEvent *event ) if ( qnpxt ) { // send event through TQt modality handling... if ( !qt_try_modal( qnpxt, event ) ) { - // qDebug( "TQt: active modal widget discarded event" ); + // tqDebug( "TQt: active modal widget discarded event" ); return True; } } else if ( !grabbed ) { @@ -1814,7 +1814,7 @@ Boolean qnpxt_event_dispatcher( XEvent *event ) case EnterNotify: case LeaveNotify: case ClientMessage: - // qDebug( "TQt: active modal widget discarded unknown event" ); + // tqDebug( "TQt: active modal widget discarded unknown event" ); return True; default: break; @@ -1824,7 +1824,7 @@ Boolean qnpxt_event_dispatcher( XEvent *event ) } if ( static_d->dispatchers[ event->type ]( event ) ) { - // qDebug( "Xt: delivered event" ); + // tqDebug( "Xt: delivered event" ); // Xt handled the event. return True; } @@ -1839,7 +1839,7 @@ TQNPXt::TQNPXt( const char *applicationClass, XtAppContext context, { #if defined(QT_CHECK_STATE) if ( static_d ) - qWarning( "TQNPXt: should only have one TQNPXt instance!" ); + tqWarning( "TQNPXt: should only have one TQNPXt instance!" ); #endif d = static_d = new TQNPXtPrivate; @@ -1966,7 +1966,7 @@ void TQNPXt::registerSocketNotifier( TQSocketNotifier *notifier ) break; default: - qWarning( "TQNPXtEventLoop: socket notifier has invalid type" ); + tqWarning( "TQNPXtEventLoop: socket notifier has invalid type" ); return; } @@ -1985,7 +1985,7 @@ void TQNPXt::unregisterSocketNotifier( TQSocketNotifier *notifier ) ++it; if ( ! it.current() ) { // this shouldn't happen - qWarning( "TQNPXtEventLoop: failed to unregister socket notifier" ); + tqWarning( "TQNPXtEventLoop: failed to unregister socket notifier" ); return; } |