Switch two connects to Qt5 style.

This commit is contained in:
shainer 2016-06-30 22:27:37 +01:00
parent 877eb71886
commit afedf9e024
2 changed files with 2 additions and 2 deletions

View File

@ -150,7 +150,7 @@ void NetInstallPage::loadGroupList()
"groupsUrl" ).toString() );
KIO::Job* getJob = KIO::storedGet( confUrl, KIO::Reload, KIO::Overwrite | KIO::HideProgressInfo );
connect ( getJob, SIGNAL( result( KJob* ) ), this, SLOT( dataIsHere( KJob* ) ) );
connect ( getJob, &KIO::Job::result, this, &NetInstallPage::dataIsHere );
}
void NetInstallPage::onActivate()

View File

@ -26,7 +26,7 @@ GroupSelectionWidget::GroupSelectionWidget( QString name, QString description, Q
{
ui.setupUi( this );
connect( ui.group, SIGNAL( toggled( bool ) ), this, SLOT( toggleGroup( bool ) ) );
connect( ui.group, &QCheckBox::toggled, this, &GroupSelectionWidget::toggleGroup );
ui.group->setText( name );
ui.description->setText( description );