Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
K
KXMLGUI
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 7
    • Merge Requests 7
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Frameworks
  • KXMLGUI
  • Merge Requests
  • !40

Open
Opened Jan 19, 2021 by Tobias Leupold@tleupoldDeveloper
  • Report abuse
Report abuse

Added a doc note how to get a menu's action

  • Overview 0
  • Commits 1
  • Changes 1

It was quite hard to figure out how to access a menu's action for a menu that has been defined in a ...ui.rc file. I didn't get any answer on the KDE forums, but luckily from the kde-devel mailing list after all. Imo, this is almost impossible to figure out, at least if you're not completely into the KDE internals.

I thus added a small note on how to do this to the API doc for KActionCollection::action, as this was the first place I searched for how to do it.

Maybe, you want to add this :-)

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: frameworks/kxmlgui!40
Source branch: menu_action