diff options
Diffstat (limited to 'pyuic3/form.cpp')
-rw-r--r-- | pyuic3/form.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pyuic3/form.cpp b/pyuic3/form.cpp index 6aa5aa5..1e5a81e 100644 --- a/pyuic3/form.cpp +++ b/pyuic3/form.cpp @@ -30,13 +30,13 @@ #define NO_STATIC_COLORS #include <globaldefs.h> -#if QT_VERSION < 0x030100 +#if TQT_VERSION < 0x030100 #include <zlib.h> #endif static TQByteArray unzipXPM( TQString data, ulong& length ) { -#if QT_VERSION >= 0x030100 +#if TQT_VERSION >= 0x030100 const int lengthOffset = 4; int baSize = data.length() / 2 + lengthOffset; uchar *ba = new uchar[ baSize ]; @@ -55,13 +55,13 @@ static TQByteArray unzipXPM( TQString data, ulong& length ) r += l - 'a' + 10; ba[ i ] = r; } - // qUncompress() expects the first 4 bytes to be the expected length of the + // tqUncompress() expects the first 4 bytes to be the expected length of the // uncompressed data ba[0] = ( length & 0xff000000 ) >> 24; ba[1] = ( length & 0x00ff0000 ) >> 16; ba[2] = ( length & 0x0000ff00 ) >> 8; ba[3] = ( length & 0x000000ff ); - TQByteArray baunzip = qUncompress( ba, baSize ); + TQByteArray baunzip = tqUncompress( ba, baSize ); delete[] ba; return baunzip; #else @@ -395,7 +395,7 @@ void Uic::createFormImpl( const TQDomElement &e ) } out << endl; } else if ( externPixmaps ) { -#if QT_VERSION >= 0x030100 +#if TQT_VERSION >= 0x030100 pixmapLoaderFunction = "TQPixmap.fromMimeSource"; #else out << indent << "def uic_load_pixmap_" << objName << "(name):" << endl; |