Commit graph

685 commits

Author SHA1 Message Date
Àlex Fiestas
dbea3171bd Make kdeconnect core compile without KDELibs4Support
This meant to add a lot of dependencies to each plugin since we had
KDELibs4support as PUBLIC link meaning that anything linking against
kdeconnectcore was linking at the same time to mostly all frameworks.

Now each plugin has more or less its dependencies in the CMake some
still depend on KDELibs4Support.

For the mousepad plugin I needed to add a fixX11.h file that basically
undefines/defines again some stuff xlib has that conflcits with normal
C++ and Qt.

Before it was not conflicting because some lib within KDELibs4Support
was including this file, but now we have to do it ourselves.
2014-09-22 02:40:51 +02:00
Àlex Fiestas
c2f6956d93 Port kdeconnectd to KDBusServices and QGuiApp 2014-09-22 02:40:51 +02:00
Àlex Fiestas
e43be5d843 Port from KGLobalSettings to QStandardPaths
QStandardPaths::writableLocation is the way to locate "where to download
files" with Qt5, so port to it.
2014-09-22 02:40:51 +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
349e7c4175 Removed trailing spaces. 2014-09-22 02:40:51 +02:00
Aleix Pol
1abf0686f5 Port kdeconnect-cli away from kdelibs4supposrt 2014-09-22 02:26:06 +02:00
Àlex Fiestas
be885903e6 Port share to QStandardPaths
It is weird that we are hardcoding kate or anything else for that
matter, we should be using xdg-open or similar tools.
2014-09-22 01:25:15 +02:00
Àlex Fiestas
b9c9f97fa4 Port sftp plugin to QStandardPaths
I have not been able to test this, but double checked the return values
and they should be the same.
2014-09-22 01:24:42 +02:00
Àlex Fiestas
51b8fd34b8 Remove unused KStandardDirs include from kded 2014-09-22 01:24:03 +02:00
Àlex Fiestas
9c13e92e55 Port KCM to QStandardPaths
Both core return the same.
2014-09-22 01:23:47 +02:00
Àlex Fiestas
2328738beb Port core from KStandardDirs to QStandardPaths
Tested, both code return the same thing.
2014-09-22 01:23:27 +02:00
Àlex Fiestas
d971269bd5 Remove kdebugnamespace completely and replace by core_debug
In those places that belong to "core" we use core_debug, in any other
place we have added custom logging categories so we use those instead.
2014-09-22 00:59:34 +02:00
Àlex Fiestas
e949bcf19f Forgot to add this file, needed for interfaces to build
Ups...
2014-09-22 00:46:54 +02:00
Àlex Fiestas
3b5ab5e83f Port Telephony plugin from kDebug to qCDebug 2014-09-22 00:46:41 +02:00
Àlex Fiestas
af44187695 Port share plugin away from kDebug 2014-09-22 00:46:19 +02:00
Àlex Fiestas
008f082ac0 Port sftp pluging from kDebug to qCDebug 2014-09-22 00:45:59 +02:00
Àlex Fiestas
cfe23bfc22 Port ping away from kDebug 2014-09-22 00:45:41 +02:00
Àlex Fiestas
f1aa266053 Remove kdebugnamespace usage from pausemusic
It is not being used at all.
2014-09-22 00:45:26 +02:00
Àlex Fiestas
73db3eb694 Port Notifications from kDebug to qCDebug 2014-09-22 00:45:06 +02:00
Àlex Fiestas
1e9df65d50 Port mpris from kDebug to qCDebug 2014-09-22 00:44:47 +02:00
Àlex Fiestas
2b0eecc599 Port clipboard away from kDebug 2014-09-22 00:44:32 +02:00
Àlex Fiestas
9e3d1dc851 Port battery away from kDebug 2014-09-22 00:44:17 +02:00
Àlex Fiestas
3f24ccd39a Port the kio from kDebug to qCDebug
Use custom area for the kio "kdeconnect.kio"
2014-09-22 00:20:14 +02:00
Àlex Fiestas
93054601b9 Removed unused kdebugnamespace, makes kcm kDebug free 2014-09-22 00:17:56 +02:00
Àlex Fiestas
02fd748f41 Interfaces no longer depend on kdelibs4support
Also since fileitemactionplugin was using them (and inhering
kdelibs4support) not we have tu explicitly link against it in there.
2014-09-22 00:16:39 +02:00
Àlex Fiestas
101c741266 Make sendfileitemaction ready for qCDebug
We are not using debug statements in this pluging, but for when we do
debugging will be ready.
2014-09-22 00:15:36 +02:00
Àlex Fiestas
df0c262998 Port core to qCDebug
I had to keep the old kDebug code in kdebugnamespace because other parts
of the code are using it. Will be removed as soon as all code using it
is ported as well.
2014-09-21 23:54:27 +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
Àlex Fiestas
aead283da1 Port shareplugin to QUrl
Had to instance QUrl using fromLocalFile since our
kconfig/KGlobalSettings are not setting the scheme (aka returning
/home/user instead of file:///home/user).

Tested, it works great.
2014-09-21 22:24:37 +02:00
Àlex Fiestas
542c872a16 Port sftp plugin to Qurl
Since QUrl are buid with kdeconnect:/ (aka not local) we don't have to
change anything.
2014-09-21 22:23:31 +02:00
Àlex Fiestas
53830bfa68 Use QUrl instead of KUrl in fileitemactionplugin
Again, straight forward port, simple replace works.
2014-09-21 22:22:47 +02:00
Àlex Fiestas
473a34b76f Por filetranasferjob to QUrl
Pretty much a straight forward port from KUrl to QUrl, since we are only
forwarding arguments there was not much to port but a simple /kurl/qurl/
2014-09-21 22:22:06 +02:00
Àlex Fiestas
e96fe74b64 Remove unused include in kdeconenct-cli
We are not using KUrl.
2014-09-21 21:58:55 +02:00
Albert Vaca
07e0b6fc4e Added separate options to mute and/or pause players during a call.
Bug: 338951
2014-09-17 19:02:45 +02:00
Albert Vaca
5cf6fe82b5 Fixed possible causes of a crash in LanLinkProvider::configureSocket l.48
BUG: 338662
2014-09-17 19:02:45 +02:00
Àlex Fiestas
42269a9dda Port from KIcon to QIcon
Executed kcm and some notifications, icons are still shown.
2014-09-13 01:04:48 +02:00
Àlex Fiestas
21712668ee Pass arguments in correct order to QCOMPARE
It is actual, expected .
2014-09-13 00:50:46 +02:00
Àlex Fiestas
f20f489999 Port to aelperay from QJson to native json support
Straight forward port from QJson to the native Json support.

As a note I have added 2 helper functions that make the code bit more
readable (object2qvariant and qvariatn2qobject).
2014-09-13 00:49:56 +02:00
Àlex Fiestas
d3aec4887f Add content to the body that will be serialized
Just to make extra sure that the serializer works correctly.
2014-09-13 00:16:26 +02:00
Àlex Fiestas
a0ff36625d Make sure we have initialized QCA before using it
QCA::isSupported uses a private global object that is 0 if
QCA::Initializer is not instanciated.
2014-09-12 23:32:19 +02:00
l10n daemon script
afc3c33f99 SVN_SILENT made messages (.desktop file) 2014-09-11 04:17:22 +00:00
Lukáš Tinkl
994057af0e fix the Configure action
display the kdeconnect kcm
2014-09-10 10:19:44 +02:00
Sune Vuorela
e3237881aa Catch a misconfigured QCA a bit earlier.
REVIEW:120095
2014-09-09 09:19:07 +02:00
Lukáš Tinkl
743f7548e0 i18n fixes 2014-09-08 03:09:18 +02:00
Lukáš Tinkl
408d8e4f3b don't create a bogus org.kde.org.kde.kdeconnect service on the bus 2014-09-07 17:54:58 +02:00
Sebastian Kügler
506bd2a890 add qjson includes at top-level
It's needed by plugins as well, not just by the core.

Reviewed-by: Aleix
2014-09-07 14:12:00 +02:00
Elias Probst
79edcf5685
Visual streamlining of plasmoid.
Adapt the 'No paired devices available' message's style to the style
used by plasma-workspace plasmoids.

REVIEW: 120031
2014-09-02 08:13:26 +02:00
Aleix Pol
28097e84e4 Fix qml warnings 2014-09-01 17:49:18 +02:00
Aleix Pol
e82850411d Import error reporting
I was getting a crash, it was because of a set up problem, but having this
helped me to figure it out.
2014-09-01 17:49:09 +02:00