Port daemon from KDELibs4Support

Review Request #117936 - Created May 2, 2014 and submitted

Information
David Rosca
bluedevil
frameworks
Reviewers
bluedevil
afiestas
This patch removes all usage of KDELibs4Support in daemon (src/daemon).
All string literals are also wrapped in QLatin1String/QStringLiteral.

There is still one thing that needs to be done - KStandardDirs::findExe is used in BluezAgent to find executables in LIBEXEC dir.
From the porting guide: QStandardPaths::findExecutable should be used in this case with hardcoded path =  CMAKE_INSTALL_PREFIX "/" LIBEXEC_INSTALL_DIR.

I am not sure what is the best way to do this. 
Add a new compiler -D define flag (probably not), create the define in a generated .h file (which one?) or is there any other way?

  
Àlex Fiestas
Commit Hook
David Rosca
Review request changed

Status: Closed (submitted)

Loading...