From 41bb408dde90e755b07cd2ab8a9bdec7548c84b0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 28 Feb 2012 22:31:39 -0600 Subject: Automated conversion from qt3 --- tools/designer/editor/yyindent.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/designer/editor/yyindent.cpp') diff --git a/tools/designer/editor/yyindent.cpp b/tools/designer/editor/yyindent.cpp index 11adb7f94..d8498dc3a 100644 --- a/tools/designer/editor/yyindent.cpp +++ b/tools/designer/editor/yyindent.cpp @@ -1115,7 +1115,7 @@ static TQString fileContents( const TQString& fileName ) { TQFile f( fileName ); if ( !f.open(IO_ReadOnly) ) { - qWarning( "yyindent error: Cannot open file '%s' for reading: %s", + tqWarning( "yyindent error: Cannot open file '%s' for reading: %s", fileName.latin1(), strerror(errno) ); return TQString::null; } @@ -1124,14 +1124,14 @@ static TQString fileContents( const TQString& fileName ) TQString contents = t.read(); f.close(); if ( contents.isEmpty() ) - qWarning( "yyindent error: File '%s' is empty", fileName.latin1() ); + tqWarning( "yyindent error: File '%s' is empty", fileName.latin1() ); return contents; } int main( int argc, char **argv ) { if ( argc != 2 ) { - qWarning( "usage: yyindent file.cpp" ); + tqWarning( "usage: yyindent file.cpp" ); return 1; } -- cgit v1.2.1