What's your plan for the implementation btw? Make dbus call (which
might autostart the service), and if that fails...
KRun::runUrl(directoryUrl, "inode/directory"), I guess?

Yes, basically.

What do you think about a KIO::OpenFileManagerWindowJob : public KJob,
encapsulating an async dbus call?

While I personally am not a huge fan of KJob-based APIs I think this is the best way to go. Doing a blocking DBus call is a huge no-no, especially for new library code.

On Windows I could use SHOpenFolderAndSelectItems and on OSX NSWorkspace activateFileViewerSelectingURLs.

I'll have a look, thanks!

Cheers,
Kai Uwe
_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

Reply via email to