[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: integrating plasma into kdevelop's dashboard
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2010-07-27 23:14:01
Message-ID: 201007271614.25199.aseigo () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On July 27, 2010, Aleix Pol wrote:
> But I need to know it before, to be able to create the items accordingly.

it sounds like you are implementing something "incorrectly" here.

the only thing PluginLoader should need to do is return the right kind of 
object. from that point forward, it's up to the object itself to Do The Right 
Thing. by the time Applet::init() is caled, it knows what containment, etc it 
is in, and set up of the Applet that relies on that informaton should be done 
there.

-- 
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 Qt Development Frameworks

["signature.asc" (application/pgp-signature)]

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic