Ported using KDELibs4Support, for a smaller delta, so we can keep
developing on master until we decide not to.
At the moment, it builds and installs but tests don't pass because
of a QCA2 initialization problem I didn't manage to debug yet.
CCMAIL: kdeconnect@kde.org
Never block the kded even if things go wrong.
In order to do this we need to switch to a completely asynchronous
way of doing things, meaning that instead of returning bool on
start/stop we have to emit signals.
REVIEW: 116575
It was causing errors on pre-existent installations, that used the field
as if it contained the key.
Relaxed permissions check, as it was silently return if they were wrong
and this is very confusing for a user (that should open the log to see the
error)
kded_kdeconnect KDEDModule is a very simple daemon manager now, which allow to start/stop/restart
real daemon.
kdeconnectd is almost unmodified implementation of Daemon class wrapped with main() and QCoreApplication.