Utils: Modernize connections

Change-Id: I4650abc84e7c82a4054197319f6c849af9e5b8ce
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2015-03-05 22:00:05 +02:00
committed by hjk
parent 0c5dac717e
commit 329c493764
29 changed files with 169 additions and 153 deletions

View File

@@ -209,12 +209,12 @@ DetailsWidget::DetailsWidget(QWidget *parent) :
setUseCheckBox(false);
connect(d->m_detailsButton, SIGNAL(toggled(bool)),
this, SLOT(setExpanded(bool)));
connect(d->m_summaryCheckBox, SIGNAL(toggled(bool)),
this, SIGNAL(checked(bool)));
connect(d->m_summaryLabel, SIGNAL(linkActivated(QString)),
this, SIGNAL(linkActivated(QString)));
connect(d->m_detailsButton, &QAbstractButton::toggled,
this, &DetailsWidget::setExpanded);
connect(d->m_summaryCheckBox, &QAbstractButton::toggled,
this, &DetailsWidget::checked);
connect(d->m_summaryLabel, &QLabel::linkActivated,
this, &DetailsWidget::linkActivated);
d->updateControls();
}