From d866fe2c926adf0bacf59595a777c2f2a5879e49 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Mar 2012 13:26:28 -0600 Subject: Rename additional global TQt functions --- puic/main.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'puic/main.cpp') diff --git a/puic/main.cpp b/puic/main.cpp index c064d02..d6411ee 100644 --- a/puic/main.cpp +++ b/puic/main.cpp @@ -202,7 +202,7 @@ int main( int argc, char * argv[] ) if ( !outputFile.isEmpty() ) { fileOut.setName( outputFile ); if (!fileOut.open( IO_WriteOnly ) ) { - qWarning( "puic: Could not open output file '%s'", outputFile.data() ); + tqWarning( "puic: Could not open output file '%s'", outputFile.data() ); return 1; } } else { @@ -221,7 +221,7 @@ int main( int argc, char * argv[] ) TQFile file( fileName ); if ( !file.open( IO_ReadOnly ) ) { - qWarning( "puic: Could not open file '%s' ", fileName ); + tqWarning( "puic: Could not open file '%s' ", fileName ); return 1; } @@ -229,13 +229,13 @@ int main( int argc, char * argv[] ) TQString errMsg; int errLine; if ( !doc.setContent( &file, &errMsg, &errLine ) ) { - qWarning( TQString("puic: Failed to parse %s: ") + errMsg + TQString (" in line %d\n"), fileName, errLine ); + tqWarning( TQString("puic: Failed to parse %s: ") + errMsg + TQString (" in line %d\n"), fileName, errLine ); return 1; } TQDomElement e = doc.firstChild().toElement(); if ( e.hasAttribute("version") && e.attribute("version").toDouble() > 3.2 ) { - qWarning( TQString("puic: File generated with too recent version of TQt Designer (%s). Recent extensions won't be handled."), + tqWarning( TQString("puic: File generated with too recent version of TQt Designer (%s). Recent extensions won't be handled."), e.attribute("version").latin1() ); return 1; } @@ -282,7 +282,7 @@ int main( int argc, char * argv[] ) out << indent << "exit $a->exec;" << endl; } if ( fileOut.status() != IO_Ok ) { - qWarning( "uic: Error writing to file" ); + tqWarning( "uic: Error writing to file" ); if ( !outputFile.isEmpty() ) remove( outputFile ); } -- cgit v1.2.3