summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-06 12:45:51 +0900
committerMichele Calgaro <[email protected]>2023-09-07 16:31:15 +0900
commit8bb7d792c7dac1494408be0be2dbf728b32d7fe1 (patch)
tree0cf044aa02729c8ea54def1de56e1bda3b8769fe
parentc6acfabe32e7d22d90571d5398b94514e16dacff (diff)
downloadpytqt-r14.1.1.tar.gz
pytqt-r14.1.1.zip
Replace various Q_* and QT_* defines with TQ_* and TQT_*r14.1.1
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit db3abe1860a5c9afa4893cb59499868f6ff1f5aa)
-rw-r--r--ChangeLog4
-rw-r--r--NEWS2
-rw-r--r--doc/PyTQt.html4
-rw-r--r--doc/PyTQt.sgml4
-rw-r--r--doc/tqtdocs.sip4
-rw-r--r--examples/i18n/mywidget.py6
-rw-r--r--sip/tqt/tqobject.sip4
7 files changed, 14 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog
index 51e4ebe..9d9a50e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1799,7 +1799,7 @@ Improved the layout of the pyuic3 generated code slightly.
2003/01/04 19:45:03 phil
Updated the copyright notices for 2003.
-SLOT(), SIGNAL(), PYSIGNAL(), QT_TR_NOOP() and QT_TRANSLATE_NOOP() are now
+SLOT(), SIGNAL(), PYSIGNAL(), TQT_TR_NOOP() and TQT_TRANSLATE_NOOP() are now
implemented as wrapped functions.
PYQT_BUILD is now a string.
@@ -2119,7 +2119,7 @@ Added helpviewer as a standalone application.
2002/08/11 20:41:33 phil
-Added QT_TR_NOOP() and QT_TRANSLATE_NOOP().
+Added TQT_TR_NOOP() and TQT_TRANSLATE_NOOP().
Added the pylupdate program from Detlev.
diff --git a/NEWS b/NEWS
index 122e1af..1214274 100644
--- a/NEWS
+++ b/NEWS
@@ -198,7 +198,7 @@ v3.4 10th September 2002
- helpviewer is now installed as a standalone application.
- Added the progress.py example from Hans-Peter Jansen.
- Added the mdi.py and canvas.py examples from Sadi Kose.
- - Added QT_TR_NOOP() and QT_TRANSLATE_NOOP().
+ - Added TQT_TR_NOOP() and TQT_TRANSLATE_NOOP().
- Added TQApplication.winEventFilter(), TQWidget.winEvent(), MSG and POINT
under Windows.
- PyTQt is now licensed under several licenses including the GPL and a
diff --git a/doc/PyTQt.html b/doc/PyTQt.html
index afde2d4..b2de50f 100644
--- a/doc/PyTQt.html
+++ b/doc/PyTQt.html
@@ -392,11 +392,11 @@ CLASS="LITERAL"
> program which parses C++ source
files converting calls to the <TT
CLASS="LITERAL"
->QT_TR_NOOP()</TT
+>TQT_TR_NOOP()</TT
> and
<TT
CLASS="LITERAL"
->QT_TRANSLATE_NOOP()</TT
+>TQT_TRANSLATE_NOOP()</TT
> macros to <TT
CLASS="LITERAL"
>.ts</TT
diff --git a/doc/PyTQt.sgml b/doc/PyTQt.sgml
index 2e26209..200d1de 100644
--- a/doc/PyTQt.sgml
+++ b/doc/PyTQt.sgml
@@ -316,8 +316,8 @@ annoying when trying to code in Python.
<Sect2><Title>Using TQt Linguist</Title>
<Para>
TQt includes the <Literal>lupdate</Literal> program which parses C++ source
-files converting calls to the <Literal>QT_TR_NOOP()</Literal> and
-<Literal>QT_TRANSLATE_NOOP()</Literal> macros to <Literal>.ts</Literal>
+files converting calls to the <Literal>TQT_TR_NOOP()</Literal> and
+<Literal>TQT_TRANSLATE_NOOP()</Literal> macros to <Literal>.ts</Literal>
language source files. The <Literal>lrelease</Literal> program is then used to
generate <Literal>.qm</Literal> binary language files that are distributed with
your application.
diff --git a/doc/tqtdocs.sip b/doc/tqtdocs.sip
index 5c8c295..d04ca25 100644
--- a/doc/tqtdocs.sip
+++ b/doc/tqtdocs.sip
@@ -345,8 +345,8 @@ annoying when trying to code in Python.
<Sect2><Title>Using TQt Linguist</Title>
<Para>
TQt includes the <Literal>lupdate</Literal> program which parses C++ source
-files converting calls to the <Literal>QT_TR_NOOP()</Literal> and
-<Literal>QT_TRANSLATE_NOOP()</Literal> macros to <Literal>.ts</Literal>
+files converting calls to the <Literal>TQT_TR_NOOP()</Literal> and
+<Literal>TQT_TRANSLATE_NOOP()</Literal> macros to <Literal>.ts</Literal>
language source files. The <Literal>lrelease</Literal> program is then used to
generate <Literal>.qm</Literal> binary language files that are distributed with
your application.
diff --git a/examples/i18n/mywidget.py b/examples/i18n/mywidget.py
index cf5abea..a06a9ee 100644
--- a/examples/i18n/mywidget.py
+++ b/examples/i18n/mywidget.py
@@ -32,9 +32,9 @@ class MyWidget(TQMainWindow):
self.initChoices(self.central)
choices = [
- QT_TRANSLATE_NOOP("MyWidget", "First"),
- QT_TRANSLATE_NOOP("MyWidget", "Second"),
- QT_TRANSLATE_NOOP("MyWidget", "Third")
+ TQT_TRANSLATE_NOOP("MyWidget", "First"),
+ TQT_TRANSLATE_NOOP("MyWidget", "Second"),
+ TQT_TRANSLATE_NOOP("MyWidget", "Third")
]
def initChoices(self, parent):
diff --git a/sip/tqt/tqobject.sip b/sip/tqt/tqobject.sip
index ac0ad5f..e879c01 100644
--- a/sip/tqt/tqobject.sip
+++ b/sip/tqt/tqobject.sip
@@ -592,14 +592,14 @@ private:
};
-SIP_PYOBJECT QT_TR_NOOP(SIP_PYOBJECT);
+SIP_PYOBJECT TQT_TR_NOOP(SIP_PYOBJECT);
%MethodCode
Py_INCREF(a0);
sipRes = a0;
%End
-SIP_PYOBJECT QT_TRANSLATE_NOOP(SIP_PYOBJECT,SIP_PYOBJECT);
+SIP_PYOBJECT TQT_TRANSLATE_NOOP(SIP_PYOBJECT,SIP_PYOBJECT);
%MethodCode
Py_INCREF(a1);
sipRes = a1;