summaryrefslogtreecommitdiffstats
path: root/src/tools/qbuffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qbuffer.cpp')
-rw-r--r--src/tools/qbuffer.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tools/qbuffer.cpp b/src/tools/qbuffer.cpp
index 342309808..0afa52aef 100644
--- a/src/tools/qbuffer.cpp
+++ b/src/tools/qbuffer.cpp
@@ -285,7 +285,7 @@ bool TQBuffer::at( Offset pos )
\reimp
*/
-Q_LONG TQBuffer::readBlock( char *p, Q_ULONG len )
+TQ_LONG TQBuffer::readBlock( char *p, TQ_ULONG len )
{
#if defined(QT_CHECK_STATE)
if ( !p ) {
@@ -314,7 +314,7 @@ Q_LONG TQBuffer::readBlock( char *p, Q_ULONG len )
}
/*!
- \overload Q_LONG TQBuffer::writeBlock( const TQByteArray& data )
+ \overload TQ_LONG TQBuffer::writeBlock( const TQByteArray& data )
This convenience function is the same as calling
\c{writeBlock( data.data(), data.size() )} with \a data.
@@ -330,7 +330,7 @@ Q_LONG TQBuffer::readBlock( char *p, Q_ULONG len )
\sa readBlock()
*/
-Q_LONG TQBuffer::writeBlock( const char *p, Q_ULONG len )
+TQ_LONG TQBuffer::writeBlock( const char *p, TQ_ULONG len )
{
if ( len == 0 )
return 0;
@@ -352,7 +352,7 @@ Q_LONG TQBuffer::writeBlock( const char *p, Q_ULONG len )
}
#endif
if ( ioIndex + len > a_len ) { // overflow
- Q_ULONG new_len = a_len + a_inc*((ioIndex+len-a_len)/a_inc+1);
+ TQ_ULONG new_len = a_len + a_inc*((ioIndex+len-a_len)/a_inc+1);
if ( !a.resize( new_len ) ) { // could not resize
#if defined(QT_CHECK_NULL)
tqWarning( "TQBuffer::writeBlock: Memory allocation error" );
@@ -376,7 +376,7 @@ Q_LONG TQBuffer::writeBlock( const char *p, Q_ULONG len )
\reimp
*/
-Q_LONG TQBuffer::readLine( char *p, Q_ULONG maxlen )
+TQ_LONG TQBuffer::readLine( char *p, TQ_ULONG maxlen )
{
#if defined(QT_CHECK_NULL)
if ( p == 0 ) {
@@ -396,7 +396,7 @@ Q_LONG TQBuffer::readLine( char *p, Q_ULONG maxlen )
#endif
if ( maxlen == 0 )
return 0;
- Q_ULONG start = ioIndex;
+ TQ_ULONG start = ioIndex;
char *d = a.data() + ioIndex;
maxlen--; // make room for 0-terminator
if ( a.size() - ioIndex < maxlen )