[PyKDE] Dictionary thru new Signal/Slot mechanism

V. Armando Sole sole at esrf.fr
Wed Feb 1 13:33:44 GMT 2006


At 10:08 01/02/2006 -0300, Roberto Alsina wrote:

>I haven't even got PyQt4 yet, but how about inheriting from a dictionary 
>and a
>QObject?
>
>class myclass (QObject,dict):
>         whatever
>

At 10:08 01/02/2006 -0300, you wrote:

>I haven't even got PyQt4 yet, but how about inheriting from a dictionary 
>and a
>QObject?
>
>class myclass (QObject,dict):
>         whatever
>

I was getting this error:

"TypeError: error when calling the metaclass bases
multiple bases have instance lay-out conflict"

therefore I took the other approach. 




More information about the PyQt mailing list