On Thursday, January 24, 2013 19:56:52 Michail Vourlakos wrote:
> is there a way to access a data engine from a C++ QML Plugin?

You can access a DataEngine from any bit of C++ code by using 
DataEngineManager directly .. however, I would instead recommend subclassing 
the DataEngineConsumer class as it provides a rather more friendly API. it is 
also what will be avaiable in libplasma2.

you can find DataEngineConsumer in kdelibs/plasma/private/dataengineconsumer*

by subclassing it (or using it directly as a class member) you will have the 
exact same API in your class that Applet and other classes in libplasma have 
for DataEngines.

-- 
Aaron J. Seigo

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Plasma-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to