api review for DataEngineConsumer

Aaron J. Seigo aseigo at kde.org
Mon Sep 24 14:26:02 UTC 2012


hi...

i just pushed DataEngineConsumer as public API in libplasma2. this class is 
used extensively in libplasma1 (and wherever it was copy and pasted ;) to make 
it easy to tie usage of DataEngineManager to the lifespan of a given object 
(such as Applet, Runner, etc.)

turns out that this is how DataEngineManager was nearly *always* used, and 
when it wasn't (e.g. in individual Applets) it often caused problems. problems 
which DataEngineConsumer avoids.

so ... in these changes to libplasma2, DataEngineManager is now private API 
and DataEngineConsumer is cleaned up a bit and made public.

it is new API, however, with newly written documentation and so could use some 
review. if you can, please take a look at the new DataEngineConsumer in the 
frameworks branch and provide feedback if you have any.

-- 
Aaron J. Seigo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20120924/57510204/attachment.sig>


More information about the Plasma-devel mailing list