[PyKDE] protected const method wrappers

Phil Thompson phil at riverbankcomputing.co.uk
Sat Apr 30 10:09:03 BST 2005


On Saturday 30 April 2005 12:17 am, James Emerton wrote:
> When SIP generates the virtual wrapper classes, protected methods get
> a public sipProtect_foo() method.  These methods do not inherit
> const-ness from their corresponding protected method.  If you have a
> class where the method signature of two protected methods differs only
> in that one is const and one is not, the wrapper will fail to compile.
>
> I have created a patch that applies the correct const-ness to the
> sipProtect_ member.

Applied - thank you.

Phil




More information about the PyQt mailing list