summaryrefslogtreecommitdiffstats
path: root/extensions/nsplugin/src/qnp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/nsplugin/src/qnp.cpp')
-rw-r--r--extensions/nsplugin/src/qnp.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/extensions/nsplugin/src/qnp.cpp b/extensions/nsplugin/src/qnp.cpp
index 5a5eb5c..3f135fe 100644
--- a/extensions/nsplugin/src/qnp.cpp
+++ b/extensions/nsplugin/src/qnp.cpp
@@ -800,7 +800,7 @@ QNPWidget::QNPWidget() :
pi(next_pi)
{
if (!next_pi) {
- qFatal("QNPWidget must only be created within call to newWindow");
+ tqFatal("QNPWidget must only be created within call to newWindow");
}
next_pi->widget = this;
next_pi = 0;
@@ -942,7 +942,7 @@ QNPInstance::QNPInstance() :
pi(next_pi)
{
if (!next_pi) {
- qFatal("QNPInstance must only be created within call to newInstance");
+ tqFatal("QNPInstance must only be created within call to newInstance");
}
next_pi->instance = this;
next_pi = 0;
@@ -1207,7 +1207,7 @@ const char* QNPInstance::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* QNPlugin::getJavaClass()
*/
void QNPlugin::unuseJavaClass()
{
- qFatal("QNPlugin::unuseJavaClass() must be overridden along with getJavaClass()");
+ tqFatal("QNPlugin::unuseJavaClass() must be overridden along with getJavaClass()");
}
/*!
@@ -1625,7 +1625,7 @@ bool QNPXt::redeliverEvent( XEvent *event )
{
// redeliver the event to Xt, NOT through Qt
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( "Qt: delivered event" );
+ // tqDebug( "Qt: delivered event" );
return True;
}
@@ -1775,7 +1775,7 @@ Boolean qnpxt_event_dispatcher( XEvent *event )
case EnterNotify:
case LeaveNotify:
case ClientMessage:
- // qDebug( "Qt: active popup - discarding event" );
+ // tqDebug( "Qt: active popup - discarding event" );
return True;
default:
@@ -1787,7 +1787,7 @@ Boolean qnpxt_event_dispatcher( XEvent *event )
if ( qnpxt ) {
// send event through Qt modality handling...
if ( !qt_try_modal( qnpxt, event ) ) {
- // qDebug( "Qt: active modal widget discarded event" );
+ // tqDebug( "Qt: 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( "Qt: active modal widget discarded unknown event" );
+ // tqDebug( "Qt: 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 @@ QNPXt::QNPXt( const char *applicationClass, XtAppContext context,
{
#if defined(QT_CHECK_STATE)
if ( static_d )
- qWarning( "QNPXt: should only have one QNPXt instance!" );
+ tqWarning( "QNPXt: should only have one QNPXt instance!" );
#endif
d = static_d = new QNPXtPrivate;
@@ -1966,7 +1966,7 @@ void QNPXt::registerSocketNotifier( QSocketNotifier *notifier )
break;
default:
- qWarning( "QNPXtEventLoop: socket notifier has invalid type" );
+ tqWarning( "QNPXtEventLoop: socket notifier has invalid type" );
return;
}
@@ -1985,7 +1985,7 @@ void QNPXt::unregisterSocketNotifier( QSocketNotifier *notifier )
++it;
if ( ! it.current() ) {
// this shouldn't happen
- qWarning( "QNPXtEventLoop: failed to unregister socket notifier" );
+ tqWarning( "QNPXtEventLoop: failed to unregister socket notifier" );
return;
}