[Panel-devel] engines, applets and timing

Petri Damsten petri.damsten at iki.fi
Thu Sep 13 07:41:34 CEST 2007


On Wednesday 12 September 2007 21:10:23 Aaron J. Seigo wrote:
> is there anyone interested in going through the existing engines and making
> the necessary changes? those would be: getting rid of engine-global update
> timers and implementing updateSource(const QString&) where appropriate.

I did this to rss engine I previously added, but I have a problem with 
updating:
plasma(3338) News::News: Loading applet news
plasma(3338) RssEngine::sourceRequested: "http://localhost/feed.rdf"
plasma(3338) RssEngine::updateSource: "http://localhost/feed.rdf"
plasma(3338) News::newSource: "http://localhost/feed.rdf"
plasma(3338) News::updated: "http://localhost/feed.rdf"
plasma(3338) RssEngine::processRss: received  10  item(s) for  "KDE Dot News"

But it doesn't call News::updated after this. What is the correct way to 
handle engine when updateSource cannot provide data right away. 

Petri

-- 
A conclusion is simply the place where you got tired of thinking.
-------------- 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/20070913/31a11472/attachment.pgp 


More information about the Panel-devel mailing list