Hello everyone !
I'm writing a little DBus driven standalone progress bar, something like KDialog's progress bar.
The point would be to run a new bar from an application, getting its DBus reference through stdin and driving it from the mother application.
Each time I'm running a new bar, a new DBus service name is created. The names are :1.10, :1.11, :1.12, etc.
How to get this service name at registration time (so I could write it to stdout) ? The way the adaptor object is registered
Qt Code:
To copy to clipboard, switch view to plain text mode
doesn't return the service name. Should I use QDBusConnection::registerService ? But what if I need to run several bar at the same time ?
Thank you very much !
Bookmarks