[PyQt] SIP Issues With Header

Phil Thompson phil at riverbankcomputing.com
Sat Jun 5 22:53:15 BST 2010


On Sat, 5 Jun 2010 16:36:32 -0500, Keith Rusler <xzekecomax at gmail.com>
wrote:
> Hello
> 
> I noticed that SIP does not support Q_SIGNAL, Q_SLOT, Q_SLOTS, etc. I
have
> to use the lowercase  versions. Which in my project I have to use
> Q_SIGNALS.
> And it's not easy to change over a 100 header files just to make PyQt4
> happy. Can SIP add support for these as they are apart of Qt4?
> 
> Keith

Q_SIGNALS and Q_SLOTS is easy enough, but I'm not exactly sure how Q_SIGNAL
and Q_SLOT are supposed to work.

In the following...

public:

protected Q_SLOT:
    void foo();

    void bar();

Is bar() protected or public?

Phil


More information about the PyQt mailing list