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 df9a78f..3493dac 100644 --- a/tools/designer/editor/yyindent.cpp +++ b/tools/designer/editor/yyindent.cpp @@ -1115,7 +1115,7 @@ static QString fileContents( const QString& fileName ) { QFile 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 QString::null; } @@ -1124,14 +1124,14 @@ static QString fileContents( const QString& fileName ) QString 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; } |