summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-02-13 11:11:09 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-02-14 23:24:48 +0900
commit88d14d22d621a11ab063f5810d93c91571922440 (patch)
treec5dde124214e030029d7898c2c300bd03b39ab65
parent244f8405a7d3f1db7f128f07bcd1ed3c31a5beae (diff)
downloadpytqt-r14.1.2.tar.gz
pytqt-r14.1.2.zip
Replace Q_WS_* defines with TQ_WS_* equivalentsr14.1.2
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 23638c89e30cefac38f38a681e58c628ce94a74a)
-rw-r--r--configure.py2
-rwxr-xr-xexamples/mdi.py2
-rw-r--r--pytquic3/embed.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/configure.py b/configure.py
index 5210049..6d0f3cf 100644
--- a/configure.py
+++ b/configure.py
@@ -692,7 +692,7 @@ int main(int argc,char **argv)
fprintf(fp,"-x TQt_THREAD_SUPPORT\\n");
#endif
-#if !defined(Q_WS_WIN) || defined(TQT_NO_STYLE_WINDOWSXP)
+#if !defined(TQ_WS_WIN) || defined(TQT_NO_STYLE_WINDOWSXP)
fprintf(fp,"-x TQt_STYLE_WINDOWSXP\\n");
#endif
diff --git a/examples/mdi.py b/examples/mdi.py
index 961c54a..84d9b36 100755
--- a/examples/mdi.py
+++ b/examples/mdi.py
@@ -286,7 +286,7 @@ class MDIWindow( TQMainWindow):
self.medit.hide()
del self.medit
qm=TQMovie(fn)
- #ifdef Q_WS_QWS // temporary speed-test hack
+ #ifdef TQ_WS_QWS // temporary speed-test hack
#qm->setDisplayWidget(tmp);
#endif
tmp.setBackgroundMode(TQWidget.NoBackground)
diff --git a/pytquic3/embed.cpp b/pytquic3/embed.cpp
index a24f282..f86a1d6 100644
--- a/pytquic3/embed.cpp
+++ b/pytquic3/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 defined(Q_WS_QWS) && !defined(TQT_NO_IMAGE_COLLECTION_COMPRESSION)
+#if defined(TQ_WS_QWS) && !defined(TQT_NO_IMAGE_COLLECTION_COMPRESSION)
#define TQT_NO_IMAGE_COLLECTION_COMPRESSION
#endif