[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:       Aleix Pol <aleixpol () kde ! org>
Date:       2010-07-28 1:13:07
Message-ID: AANLkTinZ3Be-xwLXV8Rspzbw3E+ONX0=r8t-tCdAghQg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Wed, Jul 28, 2010 at 1:14 AM, Aaron J. Seigo <aseigo@kde.org> wrote:

> 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
>
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel@kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
>
I've been looking into it and it's fine to use DataEngines. I have the exact
same problem though. I can create a kdevelop DataEngine with a project
DataContainer, but this is still created in the PluginLoader and I can't
have a reference to the Project.

What can I do about it?

Thanks again :)
Aleix

[Attachment #5 (text/html)]

<div class="gmail_quote">On Wed, Jul 28, 2010 at 1:14 AM, Aaron J. Seigo <span \
dir="ltr">&lt;<a href="mailto:aseigo@kde.org">aseigo@kde.org</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex;"> <div class="im">On July 27, 2010, Aleix Pol wrote:<br>
</div><div class="im">&gt; But I need to know it before, to be able to create the \
items accordingly.<br> <br>
</div>it sounds like you are implementing something &quot;incorrectly&quot; here.<br>
<br>
the only thing PluginLoader should need to do is return the right kind of<br>
object. from that point forward, it&#39;s up to the object itself to Do The Right<br>
Thing. by the time Applet::init() is caled, it knows what containment, etc it<br>
is in, and set up of the Applet that relies on that informaton should be done<br>
there.<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">Aaron J. Seigo<br>
humru othro a kohnu se<br>
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA   EE75 D6B7 2EB1 A7F1 DB43<br>
<br>
KDE core developer sponsored by Qt Development Frameworks<br>
</div></div><br>_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" \
target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br> \
<br></blockquote></div><br><div>I&#39;ve been looking into it and it&#39;s fine to \
use DataEngines. I have the exact same problem though. I can create a kdevelop \
DataEngine with a project DataContainer, but this is still created in the \
PluginLoader and I can&#39;t have a reference to the Project.</div> \
<div><br></div><div>What can I do about it?</div><div><br></div><div>Thanks again \
:)</div><div>Aleix</div>



_______________________________________________
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