Clazy: Use fixits to refactor some old style signal connections

This commit is contained in:
Felix Kauselmann
2021-06-01 18:14:24 +02:00
parent ca81b5424a
commit 8377de7c3e
49 changed files with 371 additions and 367 deletions

View File

@ -139,7 +139,7 @@ ServerConfigDialog::ServerConfigDialog(QWidget *parent)
portWidget->setLayout(portWidgetLayout);
portWidget->move(332, 244);
//accept->move(514,149);
connect(accept, SIGNAL(pressed()), this, SLOT(updatePort()));
connect(accept, &QAbstractButton::pressed, this, &ServerConfigDialog::updatePort);
//END FORM-----------------------------------------------------------------
check = new QCheckBox(this);
@ -174,8 +174,8 @@ ServerConfigDialog::ServerConfigDialog(QWidget *parent)
settings->endGroup();
connect(check, SIGNAL(stateChanged(int)), this, SLOT(enableServer(int)));
connect(performanceWorkaroundCheck, SIGNAL(stateChanged(int)), this, SLOT(enableperformanceWorkaround(int)));
connect(check, &QCheckBox::stateChanged, this, &ServerConfigDialog::enableServer);
connect(performanceWorkaroundCheck, &QCheckBox::stateChanged, this, &ServerConfigDialog::enableperformanceWorkaround);
}
void ServerConfigDialog::enableServer(int status)