Switch two connects to Qt5 style.
This commit is contained in:
parent
877eb71886
commit
afedf9e024
@ -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()
|
||||
|
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user