From cad399f9ef3d642177ecdaf00c59964e264a7296 Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 5 Feb 2015 12:26:16 +0100 Subject: Debugger: Convert some connects to Qt 5 style Change-Id: Id0b374b4b0bd3d14fb73fae28269778db5ae3dc7 Reviewed-by: hjk --- src/plugins/debugger/unstartedappwatcherdialog.cpp | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'src/plugins/debugger/unstartedappwatcherdialog.cpp') diff --git a/src/plugins/debugger/unstartedappwatcherdialog.cpp b/src/plugins/debugger/unstartedappwatcherdialog.cpp index 29ace45b09..e6574d57f0 100644 --- a/src/plugins/debugger/unstartedappwatcherdialog.cpp +++ b/src/plugins/debugger/unstartedappwatcherdialog.cpp @@ -147,11 +147,16 @@ UnstartedAppWatcherDialog::UnstartedAppWatcherDialog(QWidget *parent) mainLayout->addRow(buttonsLine); setLayout(mainLayout); - connect(m_pathChooser, SIGNAL(beforeBrowsing()), this, SLOT(selectExecutable())); - connect(m_watchingPushButton, SIGNAL(toggled(bool)), this, SLOT(startStopWatching(bool))); - connect(m_pathChooser, SIGNAL(pathChanged(QString)), this, SLOT(stopAndCheckExecutable())); - connect(m_closePushButton, SIGNAL(clicked()), this, SLOT(reject())); - connect(&m_timer, SIGNAL(timeout()), this, SLOT(findProcess())); + connect(m_pathChooser, &Utils::PathChooser::beforeBrowsing, + this, &UnstartedAppWatcherDialog::selectExecutable); + connect(m_watchingPushButton, &QAbstractButton::toggled, + this, &UnstartedAppWatcherDialog::startStopWatching); + connect(m_pathChooser, &Utils::PathChooser::pathChanged, this, + &UnstartedAppWatcherDialog::stopAndCheckExecutable); + connect(m_closePushButton, &QAbstractButton::clicked, + this, &QDialog::reject); + connect(&m_timer, &QTimer::timeout, + this, &UnstartedAppWatcherDialog::findProcess); connect(m_kitChooser, &KitChooser::currentIndexChanged, this, &UnstartedAppWatcherDialog::kitChanged); kitChanged(); -- cgit v1.2.1