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/qbsprojectmanager | |
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/qbsprojectmanager')
-rw-r--r-- | src/plugins/qbsprojectmanager/qbsprojectmanagerplugin.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/qbsprojectmanager/qbsprojectmanagerplugin.cpp b/src/plugins/qbsprojectmanager/qbsprojectmanagerplugin.cpp index b2656b8b7ec..55645c53f11 100644 --- a/src/plugins/qbsprojectmanager/qbsprojectmanagerplugin.cpp +++ b/src/plugins/qbsprojectmanager/qbsprojectmanagerplugin.cpp @@ -130,8 +130,8 @@ private: QAction *m_buildSubprojectCtx = nullptr; QAction *m_cleanSubprojectCtx = nullptr; QAction *m_rebuildSubprojectCtx = nullptr; - ParameterAction *m_buildFile = nullptr; - ParameterAction *m_buildProduct = nullptr; + Action *m_buildFile = nullptr; + Action *m_buildProduct = nullptr; QAction *m_cleanProduct = nullptr; QAction *m_rebuildProduct = nullptr; }; @@ -189,8 +189,8 @@ void QbsProjectManagerPlugin::initialize() connect(m_buildFileCtx, &QAction::triggered, this, &QbsProjectManagerPlugin::buildFileContextMenu); - m_buildFile = new Utils::ParameterAction(Tr::tr("Build File"), Tr::tr("Build File \"%1\""), - Utils::ParameterAction::AlwaysEnabled, this); + m_buildFile = new Utils::Action(Tr::tr("Build File"), Tr::tr("Build File \"%1\""), + Utils::Action::AlwaysEnabled, this); command = Core::ActionManager::registerAction(m_buildFile, Constants::ACTION_BUILD_FILE); command->setAttribute(Core::Command::CA_Hide); command->setAttribute(Core::Command::CA_UpdateText); @@ -206,8 +206,8 @@ void QbsProjectManagerPlugin::initialize() connect(m_buildProductCtx, &QAction::triggered, this, &QbsProjectManagerPlugin::buildProductContextMenu); - m_buildProduct = new Utils::ParameterAction(Tr::tr("Build Product"), Tr::tr("Build Product \"%1\""), - Utils::ParameterAction::AlwaysEnabled, this); + m_buildProduct = new Utils::Action(Tr::tr("Build Product"), Tr::tr("Build Product \"%1\""), + Utils::Action::AlwaysEnabled, this); command = Core::ActionManager::registerAction(m_buildProduct, Constants::ACTION_BUILD_PRODUCT); command->setAttribute(Core::Command::CA_Hide); command->setAttribute(Core::Command::CA_UpdateText); |