diff options
author | hjk <hjk@theqtcompany.com> | 2015-02-05 12:26:16 +0100 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2015-02-05 11:31:04 +0000 |
commit | cad399f9ef3d642177ecdaf00c59964e264a7296 (patch) | |
tree | bded15507c3cbb135e72d6dbccd2df39a511c98d /src/plugins/debugger/unstartedappwatcherdialog.cpp | |
parent | a20a7d099b159cc3e5a0c3c916a1ee53e4cf1858 (diff) | |
download | qt-creator-cad399f9ef3d642177ecdaf00c59964e264a7296.tar.gz |
Debugger: Convert some connects to Qt 5 style
Change-Id: Id0b374b4b0bd3d14fb73fae28269778db5ae3dc7
Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'src/plugins/debugger/unstartedappwatcherdialog.cpp')
-rw-r--r-- | src/plugins/debugger/unstartedappwatcherdialog.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
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(); |