Commit graph

20 commits

Author SHA1 Message Date
Àlex Fiestas
2e9ff61fcd Make kded compile without KDELibs4Support 2014-09-22 10:08:19 +02:00
Àlex Fiestas
677f650216 Removed K_EXPORT_PLUGIN, no longer needed
With kf5 this is not longer needed. removing it!
2014-09-22 02:40:51 +02:00
Àlex Fiestas
51b8fd34b8 Remove unused KStandardDirs include from kded 2014-09-22 01:24:03 +02:00
Àlex Fiestas
ba08b593f9 Remove trailing spaces from kded.cpp/h 2014-09-21 23:01:08 +02:00
Àlex Fiestas
54a1e3e7bf Port kded.cpp from kDebug to qCDebug
Also using this opportunity to use a different namespace per component,
in this case kdeconnect.kded (instead of just kdeconnect).
2014-09-21 23:00:55 +02:00
Martin Gräßlin
685e821d0a Set path to kdeconnectd executable through cmake
Libexec binaries need to be hardcoded, otherwise they are not found.
This commit creates a config file and sets the path there.

REVIEW: 119148
2014-07-07 18:24:29 +02:00
Albert Vaca
a303b73238 Merge branch 'master' into frameworks
Conflicts:
	cli/kdeconnect-cli.cpp
	core/CMakeLists.txt
	plasmoid/package/contents/ui/FullRepresentation.qml
	plugins/ping/pingplugin.cpp
2014-07-01 23:59:38 +02:00
Albert Vaca
cabb0f2f7b Simplified debug areas so we only have one, called "kdeconnect" 2014-07-01 01:26:08 +02:00
Aleix Pol
a1a560c469 First approach to a KF5 port of KDE Connect
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
2014-06-16 20:02:07 +02:00
Aleix Pol
b88897847b Reorganize sources
We broke kded into core and kded, core contains the library with the backends
and plugins.
Also we renamed libkdeconnect to interfaces.
2014-06-14 15:22:40 +02:00
Aleix Pol
e58145b20e Don't compile all kde connect in the kded
It's just launching a process.
2014-06-14 13:08:26 +02:00
Àlex Fiestas
af2c0a431e In the KDED, call start in the next loop.
This is useful to start all KDED's before blocking even
for some ms.
2014-03-03 21:09:05 +01:00
Àlex Fiestas
f4dce72d41 Never block the kded
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
2014-03-03 19:58:05 +01:00
Àlex Fiestas
10a186795f Adapt coding style to kdelibs
Using kdelibs style is not enforced but it is nice to use so all
kde hackers can work on this code without feeling out of place.
2014-03-03 19:27:39 +01:00
Lukáš Tinkl
39c72cb4b2 i18n fixes 2014-02-28 18:50:06 +01:00
Albert Vaca
830dd34402 PrivateKey field in KConfig is now PrivateKeyPath
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)
2014-01-23 21:00:24 +01:00
Samoilenko Yuri
f83ad76a5f Daemon works now 2014-01-18 02:09:58 +04:00
Samoilenko Yuri
da29b6ee6e closing unused communication channels 2014-01-17 18:16:24 +04:00
Samoilenko Yuri
24cabc741e unused includes removed 2014-01-17 18:05:27 +04:00
Samoilenko Yuri
5ee45bce45 kded_kdeconnect splitted to module and daemon
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.
2014-01-17 17:58:53 +04:00