[UrlHandler] Handle opening the online docs for KCM modules

Authored by ahmadsamir on Feb 27 2020, 3:35 PM.

Description

[UrlHandler] Handle opening the online docs for KCM modules

Summary:
For KCM modules, clicking the "Help" button when khelpcenter isn't
installed should open the corresponding documentaion for that module
at docs.kde.org; for example with the Fonts KCM, the "&application="
part of the url should be "&application=kcontorl/fonts".

See D27518 for more details.

Thanks to ltoscano for fixing docs.kde.org to make "&application=kcontrol/<module name>"
actually resolve to the correct url path.

Test Plan:

  • make && ctest
  • building systemsettings after applying D27518, make sure khelpcenter isn't available on the system, then open the fonts KCM and click "Help" the relevant page at docs.kde.org should open
  • in systemsettings from its menu open the "Systemsettings Handbook", it should open the relevant page at docs.kde.org

Reviewers: Frameworks, apol

Reviewed By: apol

Subscribers: kde-frameworks-devel

Tags: Frameworks

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

Details

Committed
ahmadsamirFeb 27 2020, 3:44 PM
Reviewer
apol
Differential Revision
D27616: [UrlHandler] Handle opening the online docs for KCM modules
Parents
R273:55e8c30079ab: GIT_SILENT: qtcreator created .cmake/ repo.
Branches
Unknown
Tags
Unknown