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 e3633600f..e5ccf8bad 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 ) { \ - qWarning( "TQTextStream: No device" ); \ + tqWarning( "TQTextStream: No device" ); \ return *this; } #else #define CHECK_STREAM_PRECOND @@ -327,13 +327,13 @@ bool TQStringBuffer::open( int m ) { if ( !s ) { #if defined(QT_CHECK_STATE) - qWarning( "TQStringBuffer::open: No string" ); + tqWarning( "TQStringBuffer::open: No string" ); #endif return FALSE; } if ( isOpen() ) { #if defined(QT_CHECK_STATE) - qWarning( "TQStringBuffer::open: Buffer already open" ); + tqWarning( "TQStringBuffer::open: Buffer already open" ); #endif return FALSE; } @@ -377,16 +377,16 @@ bool TQStringBuffer::at( Offset pos ) { #if defined(QT_CHECK_STATE) if ( !isOpen() ) { - qWarning( "TQStringBuffer::at: Buffer is not open" ); + tqWarning( "TQStringBuffer::at: Buffer is not open" ); return FALSE; } #endif if ( pos >= s->length()*2 ) { #if defined(QT_CHECK_RANGE) #if defined(QT_ABI_QT4) - qWarning( "TQStringBuffer::at: Index %lld out of range", pos ); + tqWarning( "TQStringBuffer::at: Index %lld out of range", pos ); #else - qWarning( "TQStringBuffer::at: Index %lu out of range", pos ); + tqWarning( "TQStringBuffer::at: Index %lu out of range", pos ); #endif #endif return FALSE; @@ -401,11 +401,11 @@ Q_LONG TQStringBuffer::readBlock( char *p, Q_ULONG len ) #if defined(QT_CHECK_STATE) TQ_CHECK_PTR( p ); if ( !isOpen() ) { - qWarning( "TQStringBuffer::readBlock: Buffer not open" ); + tqWarning( "TQStringBuffer::readBlock: Buffer not open" ); return -1; } if ( !isReadable() ) { - qWarning( "TQStringBuffer::readBlock: Read operation not permitted" ); + tqWarning( "TQStringBuffer::readBlock: Read operation not permitted" ); return -1; } #endif @@ -427,23 +427,23 @@ Q_LONG TQStringBuffer::writeBlock( const char *p, Q_ULONG len ) { #if defined(QT_CHECK_NULL) if ( p == 0 && len != 0 ) - qWarning( "TQStringBuffer::writeBlock: Null pointer error" ); + tqWarning( "TQStringBuffer::writeBlock: Null pointer error" ); #endif #if defined(QT_CHECK_STATE) if ( !isOpen() ) { - qWarning( "TQStringBuffer::writeBlock: Buffer not open" ); + tqWarning( "TQStringBuffer::writeBlock: Buffer not open" ); return -1; } if ( !isWritable() ) { - qWarning( "TQStringBuffer::writeBlock: Write operation not permitted" ); + tqWarning( "TQStringBuffer::writeBlock: Write operation not permitted" ); return -1; } if ( ioIndex&1 ) { - qWarning( "TQStringBuffer::writeBlock: non-even index - non Unicode" ); + tqWarning( "TQStringBuffer::writeBlock: non-even index - non Unicode" ); return -1; } if ( len&1 ) { - qWarning( "TQStringBuffer::writeBlock: non-even length - non Unicode" ); + tqWarning( "TQStringBuffer::writeBlock: non-even length - non Unicode" ); return -1; } #endif @@ -456,11 +456,11 @@ int TQStringBuffer::getch() { #if defined(QT_CHECK_STATE) if ( !isOpen() ) { - qWarning( "TQStringBuffer::getch: Buffer not open" ); + tqWarning( "TQStringBuffer::getch: Buffer not open" ); return -1; } if ( !isReadable() ) { - qWarning( "TQStringBuffer::getch: Read operation not permitted" ); + tqWarning( "TQStringBuffer::getch: Read operation not permitted" ); return -1; } #endif @@ -484,11 +484,11 @@ int TQStringBuffer::ungetch( int ch ) { #if defined(QT_CHECK_STATE) if ( !isOpen() ) { - qWarning( "TQStringBuffer::ungetch: Buffer not open" ); + tqWarning( "TQStringBuffer::ungetch: Buffer not open" ); return -1; } if ( !isReadable() ) { - qWarning( "TQStringBuffer::ungetch: Read operation not permitted" ); + tqWarning( "TQStringBuffer::ungetch: Read operation not permitted" ); return -1; } #endif @@ -1702,7 +1702,7 @@ TQString TQTextStream::readLine() { #if defined(QT_CHECK_STATE) if ( !dev ) { - qWarning( "TQTextStream::readLine: No device" ); + tqWarning( "TQTextStream::readLine: No device" ); return TQString::null; } #endif @@ -1785,7 +1785,7 @@ TQString TQTextStream::read() { #if defined(QT_CHECK_STATE) if ( !dev ) { - qWarning( "TQTextStream::read: No device" ); + tqWarning( "TQTextStream::read: No device" ); return TQString::null; } #endif |