Use new connect api + use QStringLiteral

Authored by mlaurent on Apr 23 2019, 11:25 AM.