Use new connect api + QStringLiteral

Authored by mlaurent.