summaryrefslogtreecommitdiffstats
path: root/src/tools/qcstring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qcstring.cpp')
-rw-r--r--src/tools/qcstring.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/tools/qcstring.cpp b/src/tools/qcstring.cpp
index 6bfaa9c3..b875e301 100644
--- a/src/tools/qcstring.cpp
+++ b/src/tools/qcstring.cpp
@@ -52,7 +52,7 @@
#include <stdlib.h>
#include <ctype.h>
#include <limits.h>
-#ifndef QT_NO_COMPRESS
+#ifndef TQT_NO_COMPRESS
#include "../3rdparty/zlib/zlib.h"
#endif
@@ -354,7 +354,7 @@ TQ_UINT16 tqChecksum( const char *data, uint len )
compressed byte array.
*/
-#ifndef QT_NO_COMPRESS
+#ifndef TQT_NO_COMPRESS
TQByteArray tqCompress( const uchar* data, int nbytes )
{
if ( nbytes == 0 ) {
@@ -428,7 +428,7 @@ TQByteArray tqCompress( const uchar* data, int nbytes )
the uncompressed byte array.
*/
-#ifndef QT_NO_COMPRESS
+#ifndef TQT_NO_COMPRESS
TQByteArray tqUncompress( const uchar* data, int nbytes )
{
if ( !data ) {
@@ -526,7 +526,7 @@ TQByteArray tqUncompress( const uchar* data, int nbytes )
\sa \link datastreamformat.html Format of the TQDataStream operators \endlink
*/
-#ifndef QT_NO_DATASTREAM
+#ifndef TQT_NO_DATASTREAM
TQDataStream &operator<<( TQDataStream &s, const TQByteArray &a )
{
@@ -561,7 +561,7 @@ TQDataStream &operator>>( TQDataStream &s, TQByteArray &a )
return s;
}
-#endif //QT_NO_DATASTREAM
+#endif //TQT_NO_DATASTREAM
/*****************************************************************************
TQCString member functions
@@ -1793,7 +1793,7 @@ TQCString &TQCString::replace( char c1, char c2 )
}
-#ifndef QT_NO_REGEXP_CAPTURE
+#ifndef TQT_NO_REGEXP_CAPTURE
/*!
\overload
@@ -1891,7 +1891,7 @@ TQCString &TQCString::replace( const TQRegExp &rx, const char *str )
setStr( d.ascii() );
return *this;
}
-#endif //QT_NO_REGEXP
+#endif //TQT_NO_REGEXP
/*!
Returns the string converted to a \c long value.
@@ -2291,7 +2291,7 @@ TQCString &TQCString::operator+=( char c )
/*****************************************************************************
TQCString stream functions
*****************************************************************************/
-#ifndef QT_NO_DATASTREAM
+#ifndef TQT_NO_DATASTREAM
/*!
\relates TQCString
@@ -2331,7 +2331,7 @@ TQDataStream &operator>>( TQDataStream &s, TQCString &str )
s.readRawBytes( str.data(), (uint)len );
return s;
}
-#endif //QT_NO_DATASTREAM
+#endif //TQT_NO_DATASTREAM
/*****************************************************************************
Documentation for related functions