Fun with Akonadi Dataengine

Sebastian Kügler sebas at kde.org
Tue Feb 17 13:37:11 CET 2009


On Tuesday 17 February 2009 08:01:31 David Baron wrote:
> > > 2. At 1st timeout, I do the a query("ContactCollections")
> > > then if I find a suitable key, connectSource, i.e to
> > > ContentCollection-6.
> >
> > You can just do that in or from init(). Why use a timer here?
>
> The panel on which the applet is nested delays coming up when I do it
> directly in init().

Have you tried connecting to ContactCollections, and then checking for data of 
this one in dataUpdated()? This would be non-blocking. (Fetching the 
collections is pretty fast here, so I wouldn't have thought it's necessary.)
-- 
sebas

 http://www.kde.org | http://vizZzion.org |  GPG Key ID: 9119 0EF9 



More information about the Plasma-devel mailing list