Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • K KNewStuff
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • 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
  • Frameworks
  • KNewStuff
  • Merge requests
  • !162

Register KNSCore::Entry under name "Entry" as a Q_GADGET to QML

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Alexander Lohnau requested to merge work/alex/entry_gadget into master Jan 11, 2022
  • Overview 9
  • Commits 2
  • Pipelines 6
  • Changes 3

By making it a Q_OBJECT the enums can get exposed to QML, without making it a QObject and thus breaking BIC.

As suggested in https://phabricator.kde.org/T15180#269147, the value is registered under the normal and not core URI, because it is generally useful for consumers.

Task: https://phabricator.kde.org/T15180 Relates to https://phabricator.kde.org/T15141

cc @ngraham

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: work/alex/entry_gadget