Extender api review, round 2

Aaron J. Seigo aseigo at kde.org
Wed Jul 30 23:07:36 CEST 2008


On Wednesday 30 July 2008, Alex Merry wrote:
> I don't like the term "source applet".  I think "host applet" would be
> better.

source and host are not always the same thing.

> Question: what happens to detached extenders when the original applet is
> destroyed?  I assume they go away as well, since they seem to be tied to an
> Extender which is tied to an Applet.

no, they are able to stay around. once detached, they appear as separate 
objects in the user interface, and so we treat them as such.

> Also, I don't like the asymmetry of creating extenders with associated
> widgets directly the first time, but also having the initExtenderItem()
> method. Especially as initExtenderItem() doesn't sound like it's only
> called on restore.  But I'm not sure what a good solution would be, apart
> from renaming it restoreExtenderItem(), which only slightly improves it
> IMO.

restore is a better word there, yes.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20080730/411150b4/attachment-0001.pgp 


More information about the Plasma-devel mailing list