diff options
Diffstat (limited to 'src/tools/qtextstream.cpp')
-rw-r--r-- | src/tools/qtextstream.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tools/qtextstream.cpp b/src/tools/qtextstream.cpp index 9c2d0dfb8..e3633600f 100644 --- a/src/tools/qtextstream.cpp +++ b/src/tools/qtextstream.cpp @@ -399,7 +399,7 @@ bool TQStringBuffer::at( Offset pos ) Q_LONG TQStringBuffer::readBlock( char *p, Q_ULONG len ) { #if defined(QT_CHECK_STATE) - Q_CHECK_PTR( p ); + TQ_CHECK_PTR( p ); if ( !isOpen() ) { qWarning( "TQStringBuffer::readBlock: Buffer not open" ); return -1; @@ -1943,7 +1943,7 @@ TQTextStream &TQTextStream::output_int( int format, ulong n, bool neg ) } if ( fwidth ) { // adjustment required if ( !(flags() & left) ) { // but NOT left adjustment - len = qstrlen(p); + len = tqstrlen(p); int padlen = fwidth - len; if ( padlen <= 0 ) { // no padding required writeBlock( p, len ); @@ -1959,7 +1959,7 @@ TQTextStream &TQTextStream::output_int( int format, ulong n, bool neg ) fwidth = 0; // reset field width } else - writeBlock( p, qstrlen(p) ); + writeBlock( p, tqstrlen(p) ); return *this; } @@ -2111,7 +2111,7 @@ TQTextStream &TQTextStream::operator<<( const char* s ) { CHECK_STREAM_PRECOND char padbuf[48]; - uint len = qstrlen( s ); // don't write null terminator + uint len = tqstrlen( s ); // don't write null terminator if ( fwidth ) { // field width set int padlen = fwidth - len; fwidth = 0; // reset width @@ -2119,7 +2119,7 @@ TQTextStream &TQTextStream::operator<<( const char* s ) char *ppad; if ( padlen > 46 ) { // create extra big fill buffer ppad = new char[padlen]; - Q_CHECK_PTR( ppad ); + TQ_CHECK_PTR( ppad ); } else { ppad = padbuf; } |