Core: Add Command::actionForContext

Change-Id: I04ea463e1e9f4addafbea78c6302a488d7992ccd
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Marcus Tillmanns
2023-05-23 06:57:02 +02:00
parent 5943a42249
commit afbdad999d
2 changed files with 11 additions and 0 deletions

View File

@@ -57,6 +57,8 @@ public:
Utils::Id id() const;
QAction *action() const;
QAction *actionForContext(const Utils::Id &contextId) const;
Context context() const;
void setAttribute(CommandAttribute attr);