summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:24:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:24:30 -0600
commita830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0 (patch)
tree3910055c634e2ca44eacd2c892118634df9b3597 /extensions
parentb0b53cc84f215df9b9bcce77253a6b7a9d300986 (diff)
downloadqt3-a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0.tar.gz
qt3-a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0.zip
Rename additional global TQt functions
Diffstat (limited to 'extensions')
-rw-r--r--extensions/nsplugin/examples/grapher/grapher.cpp2
-rw-r--r--extensions/nsplugin/src/qnp.cpp30
2 files changed, 16 insertions, 16 deletions
diff --git a/extensions/nsplugin/examples/grapher/grapher.cpp b/extensions/nsplugin/examples/grapher/grapher.cpp
index 84633e4..f0186df 100644
--- a/extensions/nsplugin/examples/grapher/grapher.cpp
+++ b/extensions/nsplugin/examples/grapher/grapher.cpp
@@ -159,7 +159,7 @@ void Graph::timerEvent(QTimerEvent*)
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 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;
}