[Panel-devel] Plasma::Widget

Matias Valdenegro T. mvaldenegro at informatica.utem.cl
Wed Aug 1 13:43:41 CEST 2007


El Mié 01 Ago 2007, Richard Moore escribió:
> Is there any reason why Plasma::Widget is not a QObject? The
> subclasses seem to be. Would anyone object if I made it inherit
> QObject and stopped the subclasses from inheriting it themselves. If
> we don't do this then bindings for the widgets will be a PITA.

Mmmm, the original reason was for inheriting from Qt's implemented QGVItems, 
like QGraphicsItemText or so, but now those items should be wrapped as child 
items of the Widget, so it could be possible to make Widget inherit QObject 
now.


More information about the Panel-devel mailing list