- connect(connection, SIGNAL(coreSetupSuccess()), SLOT(coreSetupSuccess()));
- connect(connection, SIGNAL(coreSetupFailed(QString)), SLOT(coreSetupFailed(QString)));
- connect(connection, SIGNAL(synchronized()), SLOT(syncFinished()));
- connect(this, SIGNAL(rejected()), connection, SLOT(disconnectFromCore()));
+ connect(connection, &CoreConnection::coreSetupSuccess, this, &CoreConfigWizard::coreSetupSuccess);
+ connect(connection, &CoreConnection::coreSetupFailed, this, &CoreConfigWizard::coreSetupFailed);
+ connect(connection, &CoreConnection::synchronized, this, &CoreConfigWizard::syncFinished);
+ connect(this, &QDialog::rejected, connection, selectOverload<>(&CoreConnection::disconnectFromCore));