[PyKDE] protected const method wrappers

James Emerton ephelon at gmail.com
Sat Apr 30 00:17:25 BST 2005

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gencode.patch
Type: application/octet-stream
Size: 669 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20050430/523db5aa/gencode.obj

More information about the PyQt mailing list