From 32459311b349db581cc5fb0d80739a95b3d998b4 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Mar 2012 13:30:40 -0600 Subject: Rename additional global TQt functions --- dcopjava/dcopidl2java/main.cpp | 4 ++-- dcopjava/dcopidl2java/skel.cpp | 2 +- dcopjava/dcopidl2java/stubimpl.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'dcopjava/dcopidl2java') diff --git a/dcopjava/dcopidl2java/main.cpp b/dcopjava/dcopidl2java/main.cpp index 913b7e7a..f8351e88 100644 --- a/dcopjava/dcopidl2java/main.cpp +++ b/dcopjava/dcopidl2java/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); } @@ -80,7 +80,7 @@ int main( int argc, char** argv ) TQFile in( 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/dcopjava/dcopidl2java/skel.cpp b/dcopjava/dcopidl2java/skel.cpp index 4b4a3fd0..2fe7b9b0 100644 --- a/dcopjava/dcopidl2java/skel.cpp +++ b/dcopjava/dcopidl2java/skel.cpp @@ -66,7 +66,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.latin1() ); + tqFatal("Could not write to %s", filename.latin1() ); TQTextStream str( &skel ); diff --git a/dcopjava/dcopidl2java/stubimpl.cpp b/dcopjava/dcopidl2java/stubimpl.cpp index 55e474c9..7764618a 100644 --- a/dcopjava/dcopidl2java/stubimpl.cpp +++ b/dcopjava/dcopidl2java/stubimpl.cpp @@ -109,7 +109,7 @@ void generateStubImpl( const TQString& idl, const TQString& package, const TQStr { 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.1