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

@ -47,9 +47,9 @@ AddLabelDialog::AddLabelDialog(QWidget *parent)
setLayout(layout);
//connections
connect(edit, SIGNAL(textChanged(QString)), this, SLOT(validateName(QString)));
connect(cancelButton, SIGNAL(clicked()), this, SLOT(close()));
connect(acceptButton, SIGNAL(clicked()), this, SLOT(accept()));
connect(edit, &QLineEdit::textChanged, this, &AddLabelDialog::validateName);
connect(cancelButton, &QAbstractButton::clicked, this, &QWidget::close);
connect(acceptButton, &QAbstractButton::clicked, this, &QDialog::accept);
}
YACReader::LabelColors AddLabelDialog::selectedColor()