KCoreAddons' DesktopFileParser needs a definition of the types of all
possible entries to do a proper conversion to JSON types.
It is also nicer for plugin developers to have that type documented.
Details
Details
- Reviewers
mart apol - Group Reviewers
Plasma - Commits
- R295:0182bc404807: Add X-KDE-OnlyShowOnQtPlatforms to KCModule servicetype definition
Diff Detail
Diff Detail
- Repository
- R295 KCMUtils
- Branch
- addmissingdefinitionX-KDE-OnlyShowOnQtPlatforms
- Lint
No Linters Available - Unit
No Unit Test Coverage
Comment Actions
And seems there is also code for handling X-KDE-NotShowOnQtPlatforms in KService::showOnCurrentPlatform() (but not in kded custom code).
lxr.kde.org tells that method is used by
- plasma-phone-components/containments/homescreen/applicationlistmodel.cpp -> seems to use it as custom key extension to "Application" type, so would need custom documentation, ignoring for now
- powerdevil/daemon/powerdevilactionpool.cpp -> PowerDevil/Action servicetype, without any definition, though also no service plugins found, ignoring for now
Just mentioning for completeness, perhaps interesting to someone.