diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2015-03-05 22:00:05 +0200 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2015-03-06 13:47:27 +0000 |
commit | 329c493764cae50c0db341dbe5b63df60f3ca2d3 (patch) | |
tree | ffa33e70e15b32b98540f427e1b1d1856985b39d /src/libs/utils/filewizardpage.cpp | |
parent | 0c5dac717e7ff554a9d565800bef6f040875fb5e (diff) |
Utils: Modernize connections
Change-Id: I4650abc84e7c82a4054197319f6c849af9e5b8ce
Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'src/libs/utils/filewizardpage.cpp')
-rw-r--r-- | src/libs/utils/filewizardpage.cpp | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/libs/utils/filewizardpage.cpp b/src/libs/utils/filewizardpage.cpp index 110ba85b58a..93feb4e701b 100644 --- a/src/libs/utils/filewizardpage.cpp +++ b/src/libs/utils/filewizardpage.cpp @@ -64,11 +64,15 @@ FileWizardPage::FileWizardPage(QWidget *parent) : d(new FileWizardPagePrivate) { d->m_ui.setupUi(this); - connect(d->m_ui.pathChooser, SIGNAL(validChanged()), this, SLOT(slotValidChanged())); - connect(d->m_ui.nameLineEdit, SIGNAL(validChanged()), this, SLOT(slotValidChanged())); - - connect(d->m_ui.pathChooser, SIGNAL(returnPressed()), this, SLOT(slotActivated())); - connect(d->m_ui.nameLineEdit, SIGNAL(validReturnPressed()), this, SLOT(slotActivated())); + connect(d->m_ui.pathChooser, &PathChooser::validChanged, + this, &FileWizardPage::slotValidChanged); + connect(d->m_ui.nameLineEdit, &FancyLineEdit::validChanged, + this, &FileWizardPage::slotValidChanged); + + connect(d->m_ui.pathChooser, &PathChooser::returnPressed, + this, &FileWizardPage::slotActivated); + connect(d->m_ui.nameLineEdit, &FancyLineEdit::validReturnPressed, + this, &FileWizardPage::slotActivated); setProperty(SHORT_TITLE_PROPERTY, tr("Location")); |