DesktopPaths KCM: Move the settings logic to a KCoreConfigSkeleton class

Authored by ervin on Jan 2 2020, 6:44 PM.

Description

DesktopPaths KCM: Move the settings logic to a KCoreConfigSkeleton class

Summary:
Our KCoreConfigSkeleton subclass is interestingly hand written since
it's too remote from what we usually do (the resulting file needs to be
sourceable and we don't want the usual behavior of removing keys when
they're set to defaults).

The only one which was "more standard" was the autostart path, but
really with the URL conversion on top and for just a single entry, I
shoved it in the hand written class as well.

Doesn't reduce the code much, but at least it separates that logic from
the KCM and it opens the door to properly working defaults button.

Reviewers: Plasma, crossi, bport, meven, mart, davidedmundson

Subscribers: plasma-devel

Tags: Plasma

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

Details

Committed
ervinJan 8 2020, 11:10 AM
Differential Revision
D26389: DesktopPaths KCM: Move the settings logic to a KCoreConfigSkeleton class
Parents
R119:29c01adcc4a5: Get rid of KGlobalSettings
Branches
Unknown
Tags
Unknown