[Panel-devel] engines, applets and timing

Petri Damsten petri.damsten at iki.fi
Fri Sep 14 12:29:02 CEST 2007


On Friday 14 September 2007 11:50:27 Aaron J. Seigo wrote:
> On Thursday 13 September 2007, Petri Damsten wrote:
> > connectSource does not create DataContainer
>
> of course not. that's up to the engine, not the visualisation
>
> > but it gets created when
> > setData is called and that is why I have to do connectSource in
> > newSource?
>
> no, that is why your engine has to implement sourceRequested.

I try to explain this more (I'm have noticed I'm not very good in explaining 
things especially when using other than my native language...)

sourceRequested is implemented and it gets called when connectSource is called 
but since sourceRequest does not call setData (like in TimeEngine) 
DataContainer is not created, but I guess I could just call setData with 
empty value so it gets created.

Petri

-- 
Whatever you do will be insignificant, but it is very important that you do 
it. 
Mahatma Gandhi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20070914/27c8b7a6/attachment.pgp 


More information about the Panel-devel mailing list