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-13 11:11:09 +0900
commit23638c89e30cefac38f38a681e58c628ce94a74a (patch)
tree7d65134ee96aa5263c4c72a686178fac82494035
parent15eb6c387b2bfd9f54bd8223d483dd8c3998ea2e (diff)
downloadpytqt-23638c89.tar.gz
pytqt-23638c89.zip
Replace Q_WS_* defines with TQ_WS_* equivalentsHEADmaster
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-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 b600ac3..2f1fa80 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