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>
This commit is contained in:
hjk
2024-01-26 14:52:54 +01:00
parent fe35ee5c38
commit 66b50438d8
22 changed files with 232 additions and 231 deletions

View File

@@ -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) {

View File

@@ -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;