aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/targetsetupwidget.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2016-01-29 16:38:37 +0200
committerOrgad Shaneh <orgads@gmail.com>2016-02-01 15:51:34 +0000
commit15f8bb07ed70502c320a0ffe167694bac9734a14 (patch)
tree74db1d0c400835fd539a7697453623650d7e36b2 /src/plugins/projectexplorer/targetsetupwidget.cpp
parentdb8b9f94631a0e1637af090d31a5832656ba9f2a (diff)
ProjectExplorer: Use Qt5-style connects
The heavy lifting was done by clazy. Change-Id: I619db09a79760186b72e7662490ed1205155c1a7 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Diffstat (limited to 'src/plugins/projectexplorer/targetsetupwidget.cpp')
-rw-r--r--src/plugins/projectexplorer/targetsetupwidget.cpp17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/plugins/projectexplorer/targetsetupwidget.cpp b/src/plugins/projectexplorer/targetsetupwidget.cpp
index 42a6694800..101d8dde92 100644
--- a/src/plugins/projectexplorer/targetsetupwidget.cpp
+++ b/src/plugins/projectexplorer/targetsetupwidget.cpp
@@ -103,13 +103,13 @@ TargetSetupWidget::TargetSetupWidget(Kit *k,
setProjectPath(projectPath);
- connect(m_detailsWidget, SIGNAL(checked(bool)),
- this, SLOT(targetCheckBoxToggled(bool)));
+ connect(m_detailsWidget, &Utils::DetailsWidget::checked,
+ this, &TargetSetupWidget::targetCheckBoxToggled);
- connect(KitManager::instance(), SIGNAL(kitUpdated(ProjectExplorer::Kit*)),
- this, SLOT(handleKitUpdate(ProjectExplorer::Kit*)));
+ connect(KitManager::instance(), &KitManager::kitUpdated,
+ this, &TargetSetupWidget::handleKitUpdate);
- connect(m_manageButton, SIGNAL(clicked()), this, SLOT(manageKit()));
+ connect(m_manageButton, &QAbstractButton::clicked, this, &TargetSetupWidget::manageKit);
}
TargetSetupWidget::~TargetSetupWidget()
@@ -183,11 +183,8 @@ void TargetSetupWidget::addBuildInfo(BuildInfo *info, bool isImport)
m_newBuildsLayout->addWidget(reportIssuesLabel, pos * 2 + 1, 0, 1, 2);
reportIssuesLabel->setVisible(false);
- connect(checkbox, SIGNAL(toggled(bool)),
- this, SLOT(checkBoxToggled(bool)));
-
- connect(pathChooser, SIGNAL(rawPathChanged(QString)),
- this, SLOT(pathChanged()));
+ connect(checkbox, &QAbstractButton::toggled, this, &TargetSetupWidget::checkBoxToggled);
+ connect(pathChooser, &Utils::PathChooser::rawPathChanged, this, &TargetSetupWidget::pathChanged);
m_checkboxes.append(checkbox);
m_pathChoosers.append(pathChooser);