![]() Registered Member ![]()
|
Hello all!
I'm trying to create a small Python app that will provide some DBus methods. My goal is to have those methods called by IrKick when I press a button on my remote. So far, my little application creates a test method, which works when tested in QDBusViewer, but the IrKick wizard won't list it when choosing "I wish to manually select a function from a running program". Obviously, my program is running. Do I have to follow a certain pattern of DBus objects and methods in my application? I noticed that all the apps recognized by the IrKick wizard have, say, a MainApplication object that contains common methods. Is it a requirement? Where can I find a list with these specifications, if there is one? Cheers! |
![]() Administrator ![]()
|
The /MainApplication path provides the name of the application, etc. therefore it may be required.
Creating a KApplication instance should be sufficient enough to create it.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Thanks, I think I should try to find what I'm looking for in PyKDE instead of PyQt and DBus separately.
|
Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]