[Panel-devel] Plasma::Widget

Matt Broadstone mbroadst at gmail.com
Wed Aug 1 16:37:51 CEST 2007


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.

Matt

> _______________________________________________
> Panel-devel mailing list
> Panel-devel at kde.org
> https://mail.kde.org/mailman/listinfo/panel-devel
>


More information about the Panel-devel mailing list