diff options
author | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-01-20 15:30:07 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-01-21 10:03:57 +0100 |
commit | fd3076a4eb547c1b64a83f5a70b5b46d57bea939 (patch) | |
tree | 1efed7a91d5685724347defa3899623037b35c62 | |
parent | 046f510e191b6fa062cbea65e04c8e29bd65892b (diff) | |
download | qt-creator-fd3076a4eb547c1b64a83f5a70b5b46d57bea939.tar.gz |
Wizard: Use Qt5 style connects
Change-Id: I2507c9edebf3bc46f703cd026cfb5eb824c36ebd
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
-rw-r--r-- | src/libs/utils/wizard.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/utils/wizard.cpp b/src/libs/utils/wizard.cpp index 1f2b0cd1db..bd13b66d2b 100644 --- a/src/libs/utils/wizard.cpp +++ b/src/libs/utils/wizard.cpp @@ -322,9 +322,9 @@ Wizard::Wizard(QWidget *parent, Qt::WindowFlags flags) : { d_ptr->q_ptr = this; d_ptr->m_wizardProgress = new WizardProgress(this); - connect(this, SIGNAL(currentIdChanged(int)), this, SLOT(_q_currentPageChanged(int))); - connect(this, SIGNAL(pageAdded(int)), this, SLOT(_q_pageAdded(int))); - connect(this, SIGNAL(pageRemoved(int)), this, SLOT(_q_pageRemoved(int))); + connect(this, &QWizard::currentIdChanged, this, &Wizard::_q_currentPageChanged); + connect(this, &QWizard::pageAdded, this, &Wizard::_q_pageAdded); + connect(this, &QWizard::pageRemoved, this, &Wizard::_q_pageRemoved); setSideWidget(new LinearProgressWidget(d_ptr->m_wizardProgress, this)); setOption(QWizard::NoCancelButton, false); setOption(QWizard::NoDefaultButton, false); |