D25003: [KDesktopFile] Add a property and propertyKde functions to access custom properties

Méven Car noreply at phabricator.kde.org
Mon Oct 28 13:22:52 GMT 2019


meven created this revision.
meven added a reviewer: Frameworks.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
meven requested review of this revision.

REVISION SUMMARY
  Needed to be able to use `propertyKde("NoGlobalShortcut", false)` instead of `noDisplay()` as in D24956 <https://phabricator.kde.org/D24956>
  Similar to `KService::property` but uses a default value.

TEST PLAN
  ctest

REPOSITORY
  R237 KConfig

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D25003

AFFECTED FILES
  autotests/kdesktopfiletest.cpp
  autotests/kdesktopfiletest.h
  src/core/kdesktopfile.cpp
  src/core/kdesktopfile.h

To: meven, #frameworks
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191028/73c8804b/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list