diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-28 22:31:39 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-28 22:31:39 -0600 |
commit | 41bb408dde90e755b07cd2ab8a9bdec7548c84b0 (patch) | |
tree | 6d4d5407c000add30aa78630e009c0e5d633e440 /src/tools/qfile.cpp | |
parent | 1740cd279522c060e738bbbffacab83355d2b794 (diff) | |
download | tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.tar.gz tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.zip |
Automated conversion from qt3
Diffstat (limited to 'src/tools/qfile.cpp')
-rw-r--r-- | src/tools/qfile.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/tools/qfile.cpp b/src/tools/qfile.cpp index 78c08c7dd..eee256836 100644 --- a/src/tools/qfile.cpp +++ b/src/tools/qfile.cpp @@ -247,7 +247,7 @@ void TQFile::setName( const TQString &name ) { if ( isOpen() ) { #if defined(QT_CHECK_STATE) - qWarning( "TQFile::setName: File is open" ); + tqWarning( "TQFile::setName: File is open" ); #endif close(); } @@ -336,7 +336,7 @@ bool TQFile::atEnd() const { if ( !isOpen() ) { #if defined(QT_CHECK_STATE) - qWarning( "TQFile::atEnd: File is not open" ); + tqWarning( "TQFile::atEnd: File is not open" ); #endif return FALSE; } @@ -373,11 +373,11 @@ Q_LONG TQFile::readLine( char *p, Q_ULONG maxlen ) #if defined(QT_CHECK_STATE) TQ_CHECK_PTR( p ); if ( !isOpen() ) { // file not open - qWarning( "TQFile::readLine: File not open" ); + tqWarning( "TQFile::readLine: File not open" ); return -1; } if ( !isReadable() ) { // reading not permitted - qWarning( "TQFile::readLine: Read operation not permitted" ); + tqWarning( "TQFile::readLine: Read operation not permitted" ); return -1; } #endif @@ -444,11 +444,11 @@ int TQFile::getch() { #if defined(QT_CHECK_STATE) if ( !isOpen() ) { // file not open - qWarning( "TQFile::getch: File not open" ); + tqWarning( "TQFile::getch: File not open" ); return EOF; } if ( !isReadable() ) { // reading not permitted - qWarning( "TQFile::getch: Read operation not permitted" ); + tqWarning( "TQFile::getch: Read operation not permitted" ); return EOF; } #endif @@ -489,11 +489,11 @@ int TQFile::putch( int ch ) { #if defined(QT_CHECK_STATE) if ( !isOpen() ) { // file not open - qWarning( "TQFile::putch: File not open" ); + tqWarning( "TQFile::putch: File not open" ); return EOF; } if ( !isWritable() ) { // writing not permitted - qWarning( "TQFile::putch: Write operation not permitted" ); + tqWarning( "TQFile::putch: Write operation not permitted" ); return EOF; } #endif @@ -530,11 +530,11 @@ int TQFile::ungetch( int ch ) { #if defined(QT_CHECK_STATE) if ( !isOpen() ) { // file not open - qWarning( "TQFile::ungetch: File not open" ); + tqWarning( "TQFile::ungetch: File not open" ); return EOF; } if ( !isReadable() ) { // reading not permitted - qWarning( "TQFile::ungetch: Read operation not permitted" ); + tqWarning( "TQFile::ungetch: Read operation not permitted" ); return EOF; } #endif |