@@ -36,12 +36,12 @@ Greeter::Greeter(QObject* parent)
3636{
3737 Q_D(Greeter);
3838
39− connect(d->m_greeter, SIGNAL(showMessage(QString, QLightDM::Greeter::MessageType)),
40− this, SLOT(showMessageFilter(QString, QLightDM::Greeter::MessageType)));
41− connect(d->m_greeter, SIGNAL(showPrompt(QString, QLightDM::Greeter::PromptType)),
42− this, SLOT(showPromptFilter(QString, QLightDM::Greeter::PromptType)));
43− connect(d->m_greeter, SIGNAL(authenticationComplete()),
44− this, SLOT(authenticationCompleteFilter()));
39+ connect(d->m_greeter, &QLightDM::Greeter::showMessage,
40+ this, &Greeter::showMessageFilter);
41+ connect(d->m_greeter, &QLightDM::Greeter::showPrompt,
42+ this, &Greeter::showPromptFilter);
43+ connect(d->m_greeter, &QLightDM::Greeter::authenticationComplete,
44+ this, &Greeter::authenticationCompleteFilter);
4545
4646 d->m_greeter->connectSync();
4747}