diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-28 22:31:39 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-28 22:31:39 -0600 |
commit | 41bb408dde90e755b07cd2ab8a9bdec7548c84b0 (patch) | |
tree | 6d4d5407c000add30aa78630e009c0e5d633e440 /extensions | |
parent | 1740cd279522c060e738bbbffacab83355d2b794 (diff) | |
download | tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.tar.gz tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.zip |
Automated conversion from qt3
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/nsplugin/examples/grapher/grapher.cpp | 2 | ||||
-rw-r--r-- | extensions/nsplugin/src/qnp.cpp | 30 |
2 files changed, 16 insertions, 16 deletions
diff --git a/extensions/nsplugin/examples/grapher/grapher.cpp b/extensions/nsplugin/examples/grapher/grapher.cpp index c02a3c6ca..d1a4239a0 100644 --- a/extensions/nsplugin/examples/grapher/grapher.cpp +++ b/extensions/nsplugin/examples/grapher/grapher.cpp @@ -159,7 +159,7 @@ void Graph::timerEvent(TQTimerEvent*) void Graph::setStyle(const char* stext) { for ( Style s = Pie; styleName[s]; s = Style(s+1) ) { - if ( qstricmp(stext,styleName[s])==0 ) { + if ( tqstricmp(stext,styleName[s])==0 ) { setStyle(s); return; } 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; } |