diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/PyTQt.html | 24 | ||||
-rw-r--r-- | doc/PyTQt.sgml | 24 | ||||
-rw-r--r-- | doc/tqtdocs.sip | 24 |
3 files changed, 36 insertions, 36 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 diff --git a/doc/PyTQt.sgml b/doc/PyTQt.sgml index f7caada..8a2a23f 100644 --- a/doc/PyTQt.sgml +++ b/doc/PyTQt.sgml @@ -1104,15 +1104,15 @@ Note that the code generated by <Literal>pytquic</Literal> uses <Sect1><Title>Signal and Slot Support</Title> <Para> A signal may be either a TQt signal (specified using -<Literal>SIGNAL()</Literal>) or a Python signal (specified using +<Literal>TQ_SIGNAL()</Literal>) or a Python signal (specified using <Literal>PYSIGNAL()</Literal>). </Para> <Para> A slot can be either a Python callable object, a TQt signal (specified using -<Literal>SIGNAL()</Literal>), a Python signal (specified using +<Literal>TQ_SIGNAL()</Literal>), a Python signal (specified using <Literal>PYSIGNAL()</Literal>), or a TQt slot (specified using -<Literal>SLOT()</Literal>). +<Literal>TQ_SLOT()</Literal>). </Para> <Para> @@ -1121,14 +1121,14 @@ example: </Para> <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()")) +TQObject.connect(a,PYSIGNAL("PySig"),TQ_SIGNAL("TQtSig()")) +TQObject.connect(a,PYSIGNAL("PySig"),TQ_SLOT("TQtSlot()")) </ProgramListing> <Para> @@ -1141,8 +1141,8 @@ connections achieve the same effect. sbar = TQScrollBar() lcd = TQLCDNumber() -TQObject.connect(sbar,SIGNAL("valueChanged(int)"),lcd.display) -TQObject.connect(sbar,SIGNAL("valueChanged(int)"),lcd,SLOT("display(int)")) +TQObject.connect(sbar,TQ_SIGNAL("valueChanged(int)"),lcd.display) +TQObject.connect(sbar,TQ_SIGNAL("valueChanged(int)"),lcd,TQ_SLOT("display(int)")) </ProgramListing> <Para> @@ -1162,7 +1162,7 @@ tuple which are the arguments to the signal. For example: </Para> <ProgramListing> -a.emit(SIGNAL("clicked()"),()) +a.emit(TQ_SIGNAL("clicked()"),()) a.emit(PYSIGNAL("pySig"),("Hello","World")) </ProgramListing> diff --git a/doc/tqtdocs.sip b/doc/tqtdocs.sip index ebf10e8..5bf4097 100644 --- a/doc/tqtdocs.sip +++ b/doc/tqtdocs.sip @@ -1137,15 +1137,15 @@ Note that the code generated by <Literal>pytquic</Literal> uses <Sect1><Title>Signal and Slot Support</Title> <Para> A signal may be either a TQt signal (specified using -<Literal>SIGNAL()</Literal>) or a Python signal (specified using +<Literal>TQ_SIGNAL()</Literal>) or a Python signal (specified using <Literal>PYSIGNAL()</Literal>). </Para> <Para> A slot can be either a Python callable object, a TQt signal (specified using -<Literal>SIGNAL()</Literal>), a Python signal (specified using +<Literal>TQ_SIGNAL()</Literal>), a Python signal (specified using <Literal>PYSIGNAL()</Literal>), or a TQt slot (specified using -<Literal>SLOT()</Literal>). +<Literal>TQ_SLOT()</Literal>). </Para> <Para> @@ -1154,14 +1154,14 @@ example: </Para> <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()")) +TQObject.connect(a,PYSIGNAL("PySig"),TQ_SIGNAL("TQtSig()")) +TQObject.connect(a,PYSIGNAL("PySig"),TQ_SLOT("TQtSlot()")) </ProgramListing> <Para> @@ -1174,8 +1174,8 @@ connections achieve the same effect. sbar = TQScrollBar() lcd = TQLCDNumber() -TQObject.connect(sbar,SIGNAL("valueChanged(int)"),lcd.display) -TQObject.connect(sbar,SIGNAL("valueChanged(int)"),lcd,SLOT("display(int)")) +TQObject.connect(sbar,TQ_SIGNAL("valueChanged(int)"),lcd.display) +TQObject.connect(sbar,TQ_SIGNAL("valueChanged(int)"),lcd,TQ_SLOT("display(int)")) </ProgramListing> <Para> @@ -1195,7 +1195,7 @@ tuple which are the arguments to the signal. For example: </Para> <ProgramListing> -a.emit(SIGNAL("clicked()"),()) +a.emit(TQ_SIGNAL("clicked()"),()) a.emit(PYSIGNAL("pySig"),("Hello","World")) </ProgramListing> |