Port kfmclient to QCommandLineParser

Authored by dfaure on Nov 11 2016, 9:19 AM.