On Sunday, 2016-07-03, 15:01:22, Aditya Mehra wrote:
> Iv looked into this and was using the same minimal template, The issue
> still is I cant find a way to initialize the DBus adaptor without having a
> main, I did follow the KDE4 DBus tutorials initially on getting the DBus to
> work as KDE 5 has no DBus documentation yet for plasmoids.

You don't need a main() for that, any C++ method that is executed will do, 
e.g. your applet's constructor.

From the template it seems that should already be instantiated.
Can you access the "nativeText" property in your QML file?

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

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

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to