[PyQt] Does sip support using.
Matt Newell
newellm at blur.com
Fri Sep 21 01:51:10 BST 2007
Does sip support using keyword as in the following
class A
{
public:
void a();
void a(int);
};
class B : public A
{
public:
using A::a;
void a(int);
}
so you can call -
o = B()
o.a()
You can achieve the same by declaring B as
class B : public A
{
public:
void a();
void a(int);
}
but then it's out of sync with the header file and often adds a lot of extra
for some classes.
Sip barfed when I tried it, but I haven't upgraded in a while.
If it's not implemented and not something you want to take the time to do atm,
then I would consider writing a patch if you think it'll be accepted.
Thanks
Matt
More information about the PyQt
mailing list