diff options
author | Timothy Pearson <[email protected]> | 2012-03-02 02:11:59 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-03-02 02:11:59 -0600 |
commit | 9a75b154bf0732aa3a501b6e31e566e06c5f8a31 (patch) | |
tree | df1e10cc7504665622d096f9ba80dc9e56f3afb8 /src/tools/qfile.cpp | |
parent | a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0 (diff) | |
download | qt3-9a75b154bf0732aa3a501b6e31e566e06c5f8a31.tar.gz qt3-9a75b154bf0732aa3a501b6e31e566e06c5f8a31.zip |
Undo prior accidental commit
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 bf11cab..11e21d1 100644 --- a/src/tools/qfile.cpp +++ b/src/tools/qfile.cpp @@ -247,7 +247,7 @@ void QFile::setName( const QString &name ) { if ( isOpen() ) { #if defined(QT_CHECK_STATE) - tqWarning( "QFile::setName: File is open" ); + qWarning( "QFile::setName: File is open" ); #endif close(); } @@ -336,7 +336,7 @@ bool QFile::atEnd() const { if ( !isOpen() ) { #if defined(QT_CHECK_STATE) - tqWarning( "QFile::atEnd: File is not open" ); + qWarning( "QFile::atEnd: File is not open" ); #endif return FALSE; } @@ -373,11 +373,11 @@ Q_LONG QFile::readLine( char *p, Q_ULONG maxlen ) #if defined(QT_CHECK_STATE) Q_CHECK_PTR( p ); if ( !isOpen() ) { // file not open - tqWarning( "QFile::readLine: File not open" ); + qWarning( "QFile::readLine: File not open" ); return -1; } if ( !isReadable() ) { // reading not permitted - tqWarning( "QFile::readLine: Read operation not permitted" ); + qWarning( "QFile::readLine: Read operation not permitted" ); return -1; } #endif @@ -444,11 +444,11 @@ int QFile::getch() { #if defined(QT_CHECK_STATE) if ( !isOpen() ) { // file not open - tqWarning( "QFile::getch: File not open" ); + qWarning( "QFile::getch: File not open" ); return EOF; } if ( !isReadable() ) { // reading not permitted - tqWarning( "QFile::getch: Read operation not permitted" ); + qWarning( "QFile::getch: Read operation not permitted" ); return EOF; } #endif @@ -489,11 +489,11 @@ int QFile::putch( int ch ) { #if defined(QT_CHECK_STATE) if ( !isOpen() ) { // file not open - tqWarning( "QFile::putch: File not open" ); + qWarning( "QFile::putch: File not open" ); return EOF; } if ( !isWritable() ) { // writing not permitted - tqWarning( "QFile::putch: Write operation not permitted" ); + qWarning( "QFile::putch: Write operation not permitted" ); return EOF; } #endif @@ -530,11 +530,11 @@ int QFile::ungetch( int ch ) { #if defined(QT_CHECK_STATE) if ( !isOpen() ) { // file not open - tqWarning( "QFile::ungetch: File not open" ); + qWarning( "QFile::ungetch: File not open" ); return EOF; } if ( !isReadable() ) { // reading not permitted - tqWarning( "QFile::ungetch: Read operation not permitted" ); + qWarning( "QFile::ungetch: Read operation not permitted" ); return EOF; } #endif |