From 4fb897b216c41c13f128c71bcc66f60e2dc601c4 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Mar 2012 13:33:40 -0600 Subject: Rename additional global TQt functions --- dcop/dcopidl2cpp/main.cpp | 4 ++-- dcop/dcopidl2cpp/skel.cpp | 4 ++-- dcop/dcopidl2cpp/stub.cpp | 2 +- dcop/dcopidl2cpp/stubimpl.cpp | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'dcop/dcopidl2cpp') diff --git a/dcop/dcopidl2cpp/main.cpp b/dcop/dcopidl2cpp/main.cpp index 5e0f27525..f95983a2e 100644 --- a/dcop/dcopidl2cpp/main.cpp +++ b/dcop/dcopidl2cpp/main.cpp @@ -41,7 +41,7 @@ void usage() int main( int argc, char** argv ) { - if ( *qVersion() == '1' ) { + if ( *tqVersion() == '1' ) { fprintf( stderr, "dcopidl2cpp appears to be linked to Qt 1 instead of Qt >= 2 ! Aborting.\n" ); exit(1); } @@ -93,7 +93,7 @@ int main( int argc, char** argv ) TQFile in( TQFile::decodeName(argv[argpos]) ); if ( !in.open( IO_ReadOnly ) ) - qFatal("Could not read %s", argv[argpos] ); + tqFatal("Could not read %s", argv[argpos] ); TQDomDocument doc; doc.setContent( &in ); diff --git a/dcop/dcopidl2cpp/skel.cpp b/dcop/dcopidl2cpp/skel.cpp index 5cc30de3e..cc3dae6bb 100644 --- a/dcop/dcopidl2cpp/skel.cpp +++ b/dcop/dcopidl2cpp/skel.cpp @@ -68,7 +68,7 @@ void generateSkel( const TQString& idl, const TQString& filename, TQDomElement d { TQFile skel( filename ); if ( !skel.open( IO_WriteOnly ) ) - qFatal("Could not write to %s", filename.local8Bit().data() ); + tqFatal("Could not write to %s", filename.local8Bit().data() ); TQTextStream str( &skel ); @@ -418,7 +418,7 @@ void generateSkel( const TQString& idl, const TQString& filename, TQDomElement d funcName += ")"; if ( result != "void" ) - qFatal("Error in DCOP signal %s::%s: DCOP signals can not return values.", className.latin1(), funcName.latin1()); + tqFatal("Error in DCOP signal %s::%s: DCOP signals can not return values.", className.latin1(), funcName.latin1()); str << " TQByteArray data;" << endl; if ( !args.isEmpty() ) { diff --git a/dcop/dcopidl2cpp/stub.cpp b/dcop/dcopidl2cpp/stub.cpp index 887945262..bc2a7f29f 100644 --- a/dcop/dcopidl2cpp/stub.cpp +++ b/dcop/dcopidl2cpp/stub.cpp @@ -40,7 +40,7 @@ void generateStub( const TQString& idl, const TQString& filename, TQDomElement d { TQFile stub( filename ); if ( !stub.open( IO_WriteOnly ) ) - qFatal("Could not write to %s", filename.local8Bit().data() ); + tqFatal("Could not write to %s", filename.local8Bit().data() ); TQTextStream str( &stub ); diff --git a/dcop/dcopidl2cpp/stubimpl.cpp b/dcop/dcopidl2cpp/stubimpl.cpp index 5cdd2a00d..1e42eea37 100644 --- a/dcop/dcopidl2cpp/stubimpl.cpp +++ b/dcop/dcopidl2cpp/stubimpl.cpp @@ -66,7 +66,7 @@ void generateStubImpl( const TQString& idl, const TQString& header, const TQStri { TQFile impl( filename ); if ( !impl.open( IO_WriteOnly ) ) - qFatal("Could not write to %s", filename.latin1() ); + tqFatal("Could not write to %s", filename.latin1() ); TQTextStream str( &impl ); -- cgit v1.2.3