Hey there,

see for context: http://git.reviewboard.kde.org/r/105917/#review17551

tl;dr; I need to construct the DBus identifier of the currently running app, 
e.g. "org.kdevelop.kdevelop-$pid" - from inside a library.

I found KAboutData, which could be obtained via KCmdLineArgs::aboutData(). 
There, I have organizationDomain() and appName(), which I could concatenate to 
the DBUS identifier like:

id = "%1.%2-%3".arg(orgDomain, appName, pid)

Does that sound OK or is there a better, more direct approach, to find the 
DBus identifier for the currently running app?

Cheers
-- 
Milian Wolff
m...@milianw.de
http://milianw.de

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

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to