src: new signal slot syntax

SLOT()/SIGNAL() -> &class::method()
This commit is contained in:
Andreas Stallinger
2017-08-01 12:35:33 +02:00
parent 8d68203727
commit 244c9af3c6
47 changed files with 242 additions and 232 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ QtHelpButton::QtHelpButton(const QString& helpText, QWidget* parent)
leaveEvent(nullptr);
connect(this, SIGNAL(clicked()), this, SLOT(handleHelpPress()));
connect(this, &QtHelpButton::clicked, this, &QtHelpButton::handleHelpPress);
}
void QtHelpButton::handleHelpPress()