This forum has been archived. All content is frozen. Please use KDE Discuss instead.

need help including Upower daemon in plasmoid

Tags: None
(comma "," separated)
SoulEdge
Registered Member
Posts
4
Karma
0
Hi all,
I'm writing a plasmoid and now, after a research on Google, I need to include this library on my plasmoid: http://upower.freedesktop.org/ .
In particular, I need to use EnergyRate value.

How can I do for include that library? I understand that Solid doesn't include yes that value and so...

Thank you very much for every help :)
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I note you have recieved several replies on the mailing list on how to do this. It is done using D-Bus as you found - and making a particular call. For proper Plasma styled implementation though - it should be implemented in the appropriate data engine - which itself uses Solid. Therefore the proper place to get this added is in Solid.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
SoulEdge
Registered Member
Posts
4
Karma
0
bcooksley wrote:I note you have recieved several replies on the mailing list on how to do this. It is done using D-Bus as you found - and making a particular call.

Yes, thank you, but the problem is that no answer can help me yet...

I've got a problem calling a variable via QDBus.

I will continue on the plasma mailing list, thank you :)


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft