Pre qt5

Changes needed to smooth the porting to Qt5.
This PR breaks lxqt-panel/plugin-mount. If this PR get accepted the companion PR for lxqt-panel must also be accepted.