Re: QDBus call return error

2011-06-14 Thread Sebastian Kügler
On Saturday, June 11, 2011 21:43:56 SoulEdge wrote: 10/6/2011 Sebastian Kügler ha scritto: The patches should basically work, though I haven't tested them lately, never got to finishing this feature off. Maybe a more useful approach? Yes, you're right, but i'm not more

Re: QDBus call return error

2011-06-11 Thread SoulEdge
10/6/2011 Sebastian Kügler ha scritto: The patches should basically work, though I haven't tested them lately, never got to finishing this feature off. Maybe a more useful approach? Yes, you're right, but i'm not more expert than you, and I limited to do a little plasmoid (soon on

Re: QDBus call return error

2011-06-07 Thread SoulEdge
5/6/2011 Aaron J ha scritto: could be done; but really it belongs in solid and solid's battery device doesn't have API for this. Yes, but UPower API doesn't work aswell. There's a workaround to call the var I need via DBus? I'm trying some snip code found on the web and some

Re: QDBus call return error

2011-06-05 Thread SoulEdge
5/6/2011 Aaron J ha scritto: On Saturday, June 4, 2011 18:44:11 Beat Wolf wrote: why not patch the dataengine so that others can benefit from it too? just an idea could be done; but really it belongs in solid and solid's battery device doesn't have API for this. There are just

QDBus call return error

2011-06-04 Thread SoulEdge
Hi all, I'm writing my first plasmoid and I'd like to make a plasmoid that show the Energy Rate using the lib org.freedesktop.upower. My script is something like this: QDBusInterface *battInterface = new QDBusInterface(org.freedesktop.UPower,

Re: QDBus call return error

2011-06-04 Thread Shaun Reich
QDBusInterface *battInterface   =       new QDBusInterface(org.freedesktop.UPower,                                                 /org/freedesktop/UPower/devices/battery_BAT1,                                                 org.freedesktop.UPower.Device,                                    

Re: QDBus call return error

2011-06-04 Thread SoulEdge
4/6/2011 Shaun Reich ha scritto: Uh..that the signature doesn't exist :D Either the method requires (a) parameter(s), or that method does not exist (wrong spelling, case, etc.). Also, are you sure that there isn't a dataengine that already serves this information? e.g. powermanagement comes

Re: QDBus call return error

2011-06-04 Thread Beat Wolf
why not patch the dataengine so that others can benefit from it too? just an idea Am Samstag, 4. Juni 2011, 18:42:18 schrieb SoulEdge: 4/6/2011 Shaun Reich ha scritto: Uh..that the signature doesn't exist :D Either the method requires (a) parameter(s), or that method does not exist (wrong

Re: QDBus call return error

2011-06-04 Thread SoulEdge
4/6/2011 Beat Wolf ha scritto: why not patch the dataengine so that others can benefit from it too? just an idea Because I don't know how to patch the dataengine, this is my first program for KDE...little step :D N.P. ___ Plasma-devel

Re: QDBus call return error

2011-06-04 Thread Aaron J. Seigo
On Saturday, June 4, 2011 18:44:11 Beat Wolf wrote: why not patch the dataengine so that others can benefit from it too? just an idea could be done; but really it belongs in solid and solid's battery device doesn't have API for this. -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: