Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • K KDeclarative
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • FrameworksFrameworks
  • KDeclarative
  • Merge requests
  • !43

KCMShell: Add support for passing arguments

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Kai Uwe Broulik requested to merge work/kbroulik/kcmshellargs into master Dec 30, 2020
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 2

One can pass additional arguments to KCMs using "--args" which was not exposed through the QML API yet.

Adding a new default parameter on QML side is compatible with one argument invocations.


KQCAddons.KCMShell.openSystemSettings("kcm_keyboard", ["--tab=layouts"]);

opens SystemSettings keyboard KCM on "layouts" page

Opening printer KCM (invocation without argument) from applet still works.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: work/kbroulik/kcmshellargs