diff options
author | hjk <hjk@qt.io> | 2024-01-26 14:52:54 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2024-01-29 13:01:29 +0000 |
commit | 66b50438d8a450518be9bd517bbdf15c8443fffa (patch) | |
tree | e85ef54e55425333add2f36a7975a1af2349c0e1 /src/plugins/mesonprojectmanager | |
parent | fe35ee5c38583cb8b8cd1ef35cb212c3ebeed443 (diff) |
Utils: Rename ParameterAction into Action
It became the defacto-type for action when ActionBuilder started
creating them as default.
Change-Id: I1008d60b78ea83919ce1c80a7ef828527fe9902c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/mesonprojectmanager')
-rw-r--r-- | src/plugins/mesonprojectmanager/mesonactionsmanager.cpp | 2 | ||||
-rw-r--r-- | src/plugins/mesonprojectmanager/mesonactionsmanager.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/mesonprojectmanager/mesonactionsmanager.cpp b/src/plugins/mesonprojectmanager/mesonactionsmanager.cpp index 986aa926f47..df7ff6a2cc3 100644 --- a/src/plugins/mesonprojectmanager/mesonactionsmanager.cpp +++ b/src/plugins/mesonprojectmanager/mesonactionsmanager.cpp @@ -61,7 +61,7 @@ MesonActionsManager::MesonActionsManager() this, &MesonActionsManager::updateContextActions); - connect(&buildTargetContextAction, &Utils::ParameterAction::triggered, this, [] { + connect(&buildTargetContextAction, &Utils::Action::triggered, this, [] { auto bs = qobject_cast<MesonBuildSystem *>( ProjectExplorer::ProjectTree::currentBuildSystem()); if (bs) { diff --git a/src/plugins/mesonprojectmanager/mesonactionsmanager.h b/src/plugins/mesonprojectmanager/mesonactionsmanager.h index 004be312a3c..f4793c77073 100644 --- a/src/plugins/mesonprojectmanager/mesonactionsmanager.h +++ b/src/plugins/mesonprojectmanager/mesonactionsmanager.h @@ -13,10 +13,10 @@ namespace Internal { class MesonActionsManager : public QObject { Q_OBJECT - Utils::ParameterAction buildTargetContextAction{ + Utils::Action buildTargetContextAction{ QCoreApplication::translate("QtC::MesonProjectManager", "Build"), QCoreApplication::translate("QtC::MesonProjectManager", "Build \"%1\""), - Utils::ParameterAction::AlwaysEnabled /*handled manually*/ + Utils::Action::AlwaysEnabled /*handled manually*/ }; QAction configureActionMenu; QAction configureActionContextMenu; |