diff options
Diffstat (limited to 'src/tools/qtextstream.cpp')
-rw-r--r-- | src/tools/qtextstream.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/tools/qtextstream.cpp b/src/tools/qtextstream.cpp index 28ddbd1..63f9625 100644 --- a/src/tools/qtextstream.cpp +++ b/src/tools/qtextstream.cpp @@ -185,7 +185,7 @@ #if defined(QT_CHECK_STATE) #undef CHECK_STREAM_PRECOND #define CHECK_STREAM_PRECOND if ( !dev ) { \ - tqWarning( "QTextStream: No device" ); \ + qWarning( "QTextStream: No device" ); \ return *this; } #else #define CHECK_STREAM_PRECOND @@ -327,13 +327,13 @@ bool QStringBuffer::open( int m ) { if ( !s ) { #if defined(QT_CHECK_STATE) - tqWarning( "QStringBuffer::open: No string" ); + qWarning( "QStringBuffer::open: No string" ); #endif return FALSE; } if ( isOpen() ) { #if defined(QT_CHECK_STATE) - tqWarning( "QStringBuffer::open: Buffer already open" ); + qWarning( "QStringBuffer::open: Buffer already open" ); #endif return FALSE; } @@ -377,16 +377,16 @@ bool QStringBuffer::at( Offset pos ) { #if defined(QT_CHECK_STATE) if ( !isOpen() ) { - tqWarning( "QStringBuffer::at: Buffer is not open" ); + qWarning( "QStringBuffer::at: Buffer is not open" ); return FALSE; } #endif if ( pos >= s->length()*2 ) { #if defined(QT_CHECK_RANGE) #if defined(QT_ABI_QT4) - tqWarning( "QStringBuffer::at: Index %lld out of range", pos ); + qWarning( "QStringBuffer::at: Index %lld out of range", pos ); #else - tqWarning( "QStringBuffer::at: Index %lu out of range", pos ); + qWarning( "QStringBuffer::at: Index %lu out of range", pos ); #endif #endif return FALSE; @@ -401,11 +401,11 @@ Q_LONG QStringBuffer::readBlock( char *p, Q_ULONG len ) #if defined(QT_CHECK_STATE) Q_CHECK_PTR( p ); if ( !isOpen() ) { - tqWarning( "QStringBuffer::readBlock: Buffer not open" ); + qWarning( "QStringBuffer::readBlock: Buffer not open" ); return -1; } if ( !isReadable() ) { - tqWarning( "QStringBuffer::readBlock: Read operation not permitted" ); + qWarning( "QStringBuffer::readBlock: Read operation not permitted" ); return -1; } #endif @@ -427,23 +427,23 @@ Q_LONG QStringBuffer::writeBlock( const char *p, Q_ULONG len ) { #if defined(QT_CHECK_NULL) if ( p == 0 && len != 0 ) - tqWarning( "QStringBuffer::writeBlock: Null pointer error" ); + qWarning( "QStringBuffer::writeBlock: Null pointer error" ); #endif #if defined(QT_CHECK_STATE) if ( !isOpen() ) { - tqWarning( "QStringBuffer::writeBlock: Buffer not open" ); + qWarning( "QStringBuffer::writeBlock: Buffer not open" ); return -1; } if ( !isWritable() ) { - tqWarning( "QStringBuffer::writeBlock: Write operation not permitted" ); + qWarning( "QStringBuffer::writeBlock: Write operation not permitted" ); return -1; } if ( ioIndex&1 ) { - tqWarning( "QStringBuffer::writeBlock: non-even index - non Unicode" ); + qWarning( "QStringBuffer::writeBlock: non-even index - non Unicode" ); return -1; } if ( len&1 ) { - tqWarning( "QStringBuffer::writeBlock: non-even length - non Unicode" ); + qWarning( "QStringBuffer::writeBlock: non-even length - non Unicode" ); return -1; } #endif @@ -456,11 +456,11 @@ int QStringBuffer::getch() { #if defined(QT_CHECK_STATE) if ( !isOpen() ) { - tqWarning( "QStringBuffer::getch: Buffer not open" ); + qWarning( "QStringBuffer::getch: Buffer not open" ); return -1; } if ( !isReadable() ) { - tqWarning( "QStringBuffer::getch: Read operation not permitted" ); + qWarning( "QStringBuffer::getch: Read operation not permitted" ); return -1; } #endif @@ -484,11 +484,11 @@ int QStringBuffer::ungetch( int ch ) { #if defined(QT_CHECK_STATE) if ( !isOpen() ) { - tqWarning( "QStringBuffer::ungetch: Buffer not open" ); + qWarning( "QStringBuffer::ungetch: Buffer not open" ); return -1; } if ( !isReadable() ) { - tqWarning( "QStringBuffer::ungetch: Read operation not permitted" ); + qWarning( "QStringBuffer::ungetch: Read operation not permitted" ); return -1; } #endif @@ -1702,7 +1702,7 @@ QString QTextStream::readLine() { #if defined(QT_CHECK_STATE) if ( !dev ) { - tqWarning( "QTextStream::readLine: No device" ); + qWarning( "QTextStream::readLine: No device" ); return QString::null; } #endif @@ -1785,7 +1785,7 @@ QString QTextStream::read() { #if defined(QT_CHECK_STATE) if ( !dev ) { - tqWarning( "QTextStream::read: No device" ); + qWarning( "QTextStream::read: No device" ); return QString::null; } #endif |