[PyQt] SIP_ANYSLOT vs SIP_SLOT vs SIP_SLOT_CON()

Sébastien Sablé sable at users.sourceforge.net
Tue Sep 10 15:09:08 BST 2013


Hi,

I want to bind with sip a connect method which can be used with a slot for
which the signature will change from one call to the other:

The class looks a bit like that:

class Foo
{
Q_OBJECT
public:
    void connect(const int eventType, QObject *receiver, const char
*member);
}



    void connect(const int eventType, SIP_RXOBJ_CON receiver, SIP_SLOT
member) [void (const int eventType, QObject *receiver, const char *member)];
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20130910/a9f47965/attachment.html>


More information about the PyQt mailing list