Adds SLOT and SIGNAL global functions to QtCore module.
Reviewed by Hugo Lima <hugo.lima@openbossa.org>
This commit is contained in:
parent
3deada6b7e
commit
d90b6ba474
1 changed files with 11 additions and 1 deletions
|
|
@ -2528,7 +2528,17 @@
|
|||
<modify-function signature="enclosingMetaObject()const" remove="all" />
|
||||
</value-type>
|
||||
|
||||
<add-function signature="SIGNAL(const char*)" return-type="PyString*">
|
||||
<inject-code class="target" position="beginning">
|
||||
%PYARG_0 = PyString_FromFormat("2%s", QMetaObject::normalizedSignature(%1).constData());
|
||||
</inject-code>
|
||||
</add-function>
|
||||
|
||||
<add-function signature="SLOT(const char*)" return-type="PyString*">
|
||||
<inject-code class="target" position="beginning">
|
||||
%PYARG_0 = PyString_FromFormat("1%s", QMetaObject::normalizedSignature(%1).constData());
|
||||
</inject-code>
|
||||
</add-function>
|
||||
|
||||
|
||||
<suppress-warning text="signature 'contais(QXmlStreamAttribute)' for function modification in 'QXmlStreamAttributes' not found."/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue