[KService] add workingDirectory(), deprecate path().

Authored by dfaure on Sep 14 2019, 11:40 AM.

Description

[KService] add workingDirectory(), deprecate path().

Summary:
Reading code like service->path() is confusing, because it looks like
the path to the .desktop file (which is in fact entryPath(), most
likely because path() was already taken).

The key in the desktop file is called Path (and that won't change),
but in the C++ API, workingDirectory() is much clearer.

Test Plan: Builds

Reviewers: vkrause

Reviewed By: vkrause

Subscribers: kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D23939

Details

Committed
dfaureSep 14 2019, 2:21 PM
Reviewer
vkrause
Differential Revision
D23939: [KService] add workingDirectory(), deprecate path().
Parents
R309:fda9895da624: GIT_SILENT Upgrade KF5 version to 5.63.0.
Branches
Unknown
Tags
Unknown