diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-14 21:12:44 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-14 21:12:44 -0600 |
commit | e87fff3247e64b4e9509be991a8f2d6bd4ccfacc (patch) | |
tree | 71a3198fc141420d65eefa7036159af85894cf7d /pyuic3/embed.cpp | |
parent | 06500cd8e9be747a323920c9475fba0e6618d2de (diff) | |
download | pytqt-e87fff3247e64b4e9509be991a8f2d6bd4ccfacc.tar.gz pytqt-e87fff3247e64b4e9509be991a8f2d6bd4ccfacc.zip |
Update various qt function definitions and static methods for tqt3
Diffstat (limited to 'pyuic3/embed.cpp')
-rw-r--r-- | pyuic3/embed.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pyuic3/embed.cpp b/pyuic3/embed.cpp index 3e54d83..17efd0d 100644 --- a/pyuic3/embed.cpp +++ b/pyuic3/embed.cpp @@ -32,7 +32,7 @@ // on embedded, we do not compress image data. Rationale: by mapping // the ready-only data directly into memory we are both faster and // more memory efficient -#if (QT_VERSION < 0x030100 || defined(Q_WS_QWS)) && !defined(QT_NO_IMAGE_COLLECTION_COMPRESSION) +#if (TQT_VERSION < 0x030100 || defined(Q_WS_QWS)) && !defined(QT_NO_IMAGE_COLLECTION_COMPRESSION) #define QT_NO_IMAGE_COLLECTION_COMPRESSION #endif @@ -129,7 +129,7 @@ void Uic::embed( TQTextStream& out, const char* project, const TQStringList& ima out << "# " << *it << "\n"; out << "#\n"; out << "# Created: " << TQDateTime::currentDateTime().toString() << "\n"; - out << "# by: The PyTQt User Interface Compiler (pyuic) " << PYQT_VERSION << "\n"; + out << "# by: The PyTQt User Interface Compiler (pyuic) " << PYTQT_VERSION << "\n"; out << "#\n"; out << "# WARNING! All changes made in this file will be lost!\n"; @@ -137,7 +137,7 @@ void Uic::embed( TQTextStream& out, const char* project, const TQStringList& ima out << "\n"; out << "from qt import TQImage, TQMimeSourceFactory"; #ifndef QT_NO_IMAGE_COLLECTION_COMPRESSION - out << ", qUncompress"; + out << ", tqUncompress"; #endif out << "\n"; out << "\n"; @@ -228,7 +228,7 @@ void Uic::embed( TQTextStream& out, const char* project, const TQStringList& ima ++indent; #ifndef QT_NO_IMAGE_COLLECTION_COMPRESSION // Keep the data object alive until we have a deep copy of the image. - out << indent << "data = qUncompress(data).data()\n"; + out << indent << "data = tqUncompress(data).data()\n"; #endif out << indent << "img = TQImage(data,w,h,depth,colTab,nrCol,TQImage.BigEndian).copy()\n"; out << "\n"; |