[Panel-devel] Plasma::Widget

Matias Valdenegro T. mvaldenegro at informatica.utem.cl
Wed Aug 1 23:32:49 CEST 2007


El Mié 01 Ago 2007, Matt Broadstone escribió:
> On 8/1/07, Matias Valdenegro T. <mvaldenegro at informatica.utem.cl> wrote:
> > 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.
>
> Fonz was going to send an email related to this, but if you haven't
> noticed most of the widgets do not actually inherit Plasma::Widget,
> which is a bit of a problem. Yes I think that they should be QObjects
> (though I count 3 which aren't), but first things first.

That's called "We still need to port Widgets to Plasma::Widget" :)


More information about the Panel-devel mailing list