Replace Q_SIGNALS and Q_SLOTS

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/21/head
Michele Calgaro 3 months ago
parent bce54982a6
commit 746782ba8b
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1696,7 +1696,7 @@ name prefixed by ``sip``. For example, the derived class for class ``Klass``
is ``sipKlass``. is ``sipKlass``.
If a C++ class doesn't have any virtual or protected methods in it or any of If a C++ class doesn't have any virtual or protected methods in it or any of
it's super-class hierarchy, or does not emit any TQt Q_SIGNALS, then a derived it's super-class hierarchy, or does not emit any TQt signals, then a derived
class is not generated. class is not generated.
Most of the time handwritten code should ignore the derived classes. The only Most of the time handwritten code should ignore the derived classes. The only

@ -74,7 +74,7 @@ SIP, and the bindings it produces, have the following features:
- support for C++ exceptions and wrapping them as Python exceptions - support for C++ exceptions and wrapping them as Python exceptions
- the automatic generation of complementary rich comparison Q_SLOTS - the automatic generation of complementary rich comparison slots
- support for deprecation warnings - support for deprecation warnings
@ -164,6 +164,6 @@ toolkit.
The SIP code generator understands the signal/slot type safe callback mechanism The SIP code generator understands the signal/slot type safe callback mechanism
that TQt uses to connect objects together. This allows applications to define that TQt uses to connect objects together. This allows applications to define
new Python Q_SIGNALS, and allows any Python callable object to be used as a slot. new Python signals, and allows any Python callable object to be used as a slot.
SIP itself does not require TQt to be installed. SIP itself does not require TQt to be installed.

@ -129,16 +129,12 @@ file.
*virtual-operator* | *virtual-operator* |
*class-variable* | *class-variable* |
**public:** | **public:** |
**public Q_SLOTS:** | **public slots:** |
**public Q_SLOTS:** |
**protected:** | **protected:** |
**protected Q_SLOTS:** | **protected slots:** |
**protected Q_SLOTS:** |
**private:** | **private:** |
**private Q_SLOTS:** | **private slots:** |
**private Q_SLOTS:** | **signals:**]
**Q_SIGNALS:** |
**Q_SIGNALS:**]
*constructor* ::= [**explicit**] *name* **(** [*argument-list*] **)** *constructor* ::= [**explicit**] *name* **(** [*argument-list*] **)**
[*exceptions*] [*function-annotations*] [*exceptions*] [*function-annotations*]

@ -85,11 +85,9 @@ public {return TK_PUBLIC;}
protected {return TK_PROTECTED;} protected {return TK_PROTECTED;}
private {return TK_PRIVATE;} private {return TK_PRIVATE;}
signals {return TK_SIGNALS;} signals {return TK_SIGNALS;}
Q_SIGNALS {return TK_SIGNALS;} TQ_SIGNAL {return TK_SIGNAL_METHOD;}
Q_SIGNAL {return TK_SIGNAL_METHOD;}
slots {return TK_SLOTS;} slots {return TK_SLOTS;}
Q_SLOTS {return TK_SLOTS;} TQ_SLOT {return TK_SLOT_METHOD;}
Q_SLOT {return TK_SLOT_METHOD;}
char {return TK_CHAR;} char {return TK_CHAR;}
wchar_t {return TK_WCHAR_T;} wchar_t {return TK_WCHAR_T;}
bool {return TK_BOOL;} bool {return TK_BOOL;}

@ -1696,7 +1696,7 @@ name prefixed by ``sip``. For example, the derived class for class ``Klass``
is ``sipKlass``. is ``sipKlass``.
If a C++ class doesn't have any virtual or protected methods in it or any of If a C++ class doesn't have any virtual or protected methods in it or any of
it's super-class hierarchy, or does not emit any TQt Q_SIGNALS, then a derived it's super-class hierarchy, or does not emit any TQt signals, then a derived
class is not generated. class is not generated.
Most of the time handwritten code should ignore the derived classes. The only Most of the time handwritten code should ignore the derived classes. The only

@ -74,7 +74,7 @@ SIP, and the bindings it produces, have the following features:
- support for C++ exceptions and wrapping them as Python exceptions - support for C++ exceptions and wrapping them as Python exceptions
- the automatic generation of complementary rich comparison Q_SLOTS - the automatic generation of complementary rich comparison slots
- support for deprecation warnings - support for deprecation warnings
@ -164,6 +164,6 @@ toolkit.
The SIP code generator understands the signal/slot type safe callback mechanism The SIP code generator understands the signal/slot type safe callback mechanism
that TQt uses to connect objects together. This allows applications to define that TQt uses to connect objects together. This allows applications to define
new Python Q_SIGNALS, and allows any Python callable object to be used as a slot. new Python signals, and allows any Python callable object to be used as a slot.
SIP itself does not require TQt to be installed. SIP itself does not require TQt to be installed.

@ -129,16 +129,12 @@ file.
*virtual-operator* | *virtual-operator* |
*class-variable* | *class-variable* |
**public:** | **public:** |
**public Q_SLOTS:** | **public slots:** |
**public Q_SLOTS:** |
**protected:** | **protected:** |
**protected Q_SLOTS:** | **protected slots:** |
**protected Q_SLOTS:** |
**private:** | **private:** |
**private Q_SLOTS:** | **private slots:** |
**private Q_SLOTS:** | **signals:**]
**Q_SIGNALS:** |
**Q_SIGNALS:**]
*constructor* ::= [**explicit**] *name* **(** [*argument-list*] **)** *constructor* ::= [**explicit**] *name* **(** [*argument-list*] **)**
[*exceptions*] [*function-annotations*] [*exceptions*] [*function-annotations*]

Loading…
Cancel
Save