Re: [PyQt] SIP_ANYSLOT vs SIP_SLOT vs SIP_SLOT_CON()

2013-09-13 Thread Sébastien Sablé
2013/9/10 Phil Thompson p...@riverbankcomputing.com That doesn't sound like a great design... I agree but it is not my call. It may change when the code gets migrated to Qt5. SIP_SLOT just checks that the argument has been created by QtCore.SLOT(), ie. that it is a string that begins with

Re: [PyQt] SIP_ANYSLOT vs SIP_SLOT vs SIP_SLOT_CON()

2013-09-10 Thread Sébastien Sablé
[sorry previous email was sent before I finished it] 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,

[PyQt] SIP_ANYSLOT vs SIP_SLOT vs SIP_SLOT_CON()

2013-09-10 Thread Sébastien Sablé
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