[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] PyQt Metaclass programming
From: "Phil Thompson" <phil () riverbankcomputing ! co ! uk>
Date: 2004-12-06 15:28:47
Message-ID: 45058.82.68.80.137.1102346927.squirrel () 82 ! 68 ! 80 ! 137
[Download RAW message or body]
> Hi,
>
>> Would it help if sip.wrappertype was placed in the sip module dictionary
>> so that you could sub-class it?
>
> I ran into the same troubles and asked Gary for his solution. He offered
> me
> this neat trick for declaring my metaclass:
>
> class SessionAware(type(QObject)):
> ...
>
> I neverless think that sip.wrappertype should be exposed, as that would be
> a
> more "natural" approach to the problem - and more easy to document.
It's in the current snapshot.
Phil
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic