diff options
Diffstat (limited to 'puic/main.cpp')
-rw-r--r-- | puic/main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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 ); } |