summaryrefslogtreecommitdiffstats
path: root/doc/PyTQt.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-08 11:54:27 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-08 12:02:42 +0900
commit7d5aea7e8497095f76841f3dd8f2eab9c4cb58aa (patch)
treecf2ca395f0812f228baba1d7f2a79c5b91c56263 /doc/PyTQt.html
parent456d0fb6a207e9c80593967f2e37ddd21d32f5a4 (diff)
downloadpytqt-7d5aea7e8497095f76841f3dd8f2eab9c4cb58aa.tar.gz
pytqt-7d5aea7e8497095f76841f3dd8f2eab9c4cb58aa.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/PyTQt.html')
-rw-r--r--doc/PyTQt.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/PyTQt.html b/doc/PyTQt.html
index 5b1ed8d..650064d 100644
--- a/doc/PyTQt.html
+++ b/doc/PyTQt.html
@@ -1771,7 +1771,7 @@ NAME="AEN589"
>A signal may be either a TQt signal (specified using
<TT
CLASS="LITERAL"
->SIGNAL()</TT
+>TQ_SIGNAL()</TT
>) or a Python signal (specified using
<TT
CLASS="LITERAL"
@@ -1781,7 +1781,7 @@ CLASS="LITERAL"
>A slot can be either a Python callable object, a TQt signal (specified using
<TT
CLASS="LITERAL"
->SIGNAL()</TT
+>TQ_SIGNAL()</TT
>), a Python signal (specified using
<TT
CLASS="LITERAL"
@@ -1789,7 +1789,7 @@ CLASS="LITERAL"
>), or a TQt slot (specified using
<TT
CLASS="LITERAL"
->SLOT()</TT
+>TQ_SLOT()</TT
>).</P
><P
>You connect signals to slots (and other signals) as you would from C++. For
@@ -1802,14 +1802,14 @@ WIDTH="100%"
><TD
><PRE
CLASS="PROGRAMLISTING"
->TQObject.connect(a,SIGNAL("TQtSig()"),pyFunction)
-TQObject.connect(a,SIGNAL("TQtSig()"),pyClass.pyMethod)
-TQObject.connect(a,SIGNAL("TQtSig()"),PYSIGNAL("PySig"))
-TQObject.connect(a,SIGNAL("TQtSig()"),SLOT("TQtSlot()"))
+>TQObject.connect(a,TQ_SIGNAL("TQtSig()"),pyFunction)
+TQObject.connect(a,TQ_SIGNAL("TQtSig()"),pyClass.pyMethod)
+TQObject.connect(a,TQ_SIGNAL("TQtSig()"),PYSIGNAL("PySig"))
+TQObject.connect(a,TQ_SIGNAL("TQtSig()"),TQ_SLOT("TQtSlot()"))
TQObject.connect(a,PYSIGNAL("PySig"),pyFunction)
TQObject.connect(a,PYSIGNAL("PySig"),pyClass.pyMethod)
-TQObject.connect(a,PYSIGNAL("PySig"),SIGNAL("TQtSig()"))
-TQObject.connect(a,PYSIGNAL("PySig"),SLOT("TQtSlot()"))</PRE
+TQObject.connect(a,PYSIGNAL("PySig"),TQ_SIGNAL("TQtSig()"))
+TQObject.connect(a,PYSIGNAL("PySig"),TQ_SLOT("TQtSlot()"))</PRE
></TD
></TR
></TABLE
@@ -1828,8 +1828,8 @@ CLASS="PROGRAMLISTING"
>sbar = TQScrollBar()
lcd = TQLCDNumber()
-TQObject.connect(sbar,SIGNAL("valueChanged(int)"),lcd.display)
-TQObject.connect(sbar,SIGNAL("valueChanged(int)"),lcd,SLOT("display(int)"))</PRE
+TQObject.connect(sbar,TQ_SIGNAL("valueChanged(int)"),lcd.display)
+TQObject.connect(sbar,TQ_SIGNAL("valueChanged(int)"),lcd,TQ_SLOT("display(int)"))</PRE
></TD
></TR
></TABLE
@@ -1857,7 +1857,7 @@ WIDTH="100%"
><TD
><PRE
CLASS="PROGRAMLISTING"
->a.emit(SIGNAL("clicked()"),())
+>a.emit(TQ_SIGNAL("clicked()"),())
a.emit(PYSIGNAL("pySig"),("Hello","World"))</PRE
></TD
></TR