diff options
Diffstat (limited to 'tools/designer/editor/yyindent.cpp')
-rw-r--r-- | tools/designer/editor/yyindent.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |