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

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

Details

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

Diff Detail

Repository
R309 KService
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 16512
Build 16530: arc lint + arc unit
dfaure created this revision.Sep 14 2019, 11:41 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptSep 14 2019, 11:41 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
dfaure requested review of this revision.Sep 14 2019, 11:41 AM
vkrause accepted this revision.Sep 14 2019, 1:28 PM
This revision is now accepted and ready to land.Sep 14 2019, 1:28 PM
dfaure closed this revision.Sep 14 2019, 2:21 PM