forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user