Commit graph

580 commits

Author SHA1 Message Date
Àlex Fiestas
9a9333035a Use QString::toLatin instead of deprecated toAscii 2014-09-23 19:45:29 +02:00
Àlex Fiestas
74382f09d2 Port mousepad to CMake that does not need KDELibs4Support 2014-09-23 19:45:08 +02:00
Àlex Fiestas
2b63080335 Make sftp compile without KDELibs4support 2014-09-23 19:44:46 +02:00
Àlex Fiestas
ced3fb5060 QDate.setYMD is deprecated, use setDate instead 2014-09-23 19:44:31 +02:00
Àlex Fiestas
0c0cfb711d Port fileitemactionplugin free of KDELibs4Support 2014-09-23 19:33:03 +02:00
Àlex Fiestas
82a8d921b8 Port KIO free of KDElibs4Support 2014-09-23 19:33:03 +02:00
Aleix Pol
968ccb22c6 Port away from deprecated setRoleNames 2014-09-23 19:27:47 +02:00
Aleix Pol
665ba7481e No need to have the FindQCA2
It's already provided by QCA itself
2014-09-23 19:24:34 +02:00
Àlex Fiestas
11f106c464 Port notifications away from KDELibs4Support 2014-09-22 10:17:44 +02:00
Àlex Fiestas
9ed5004997 Link publickly against KF5::KIOCore
This is neede since kdeconnectcore public api contains KIO/FIleJob
2014-09-22 10:17:32 +02:00
Àlex Fiestas
2e9ff61fcd Make kded compile without KDELibs4Support 2014-09-22 10:08:19 +02:00
Àlex Fiestas
0115e9e090 Port ping plugin free of KDELibs4Support 2014-09-22 09:46:23 +02:00
Àlex Fiestas
426b19fa0a Make pausemusic compile without KDELibs4Support 2014-09-22 09:43:01 +02:00
Àlex Fiestas
f961fe0d9f Port kcm free of KDELibs4Support 2014-09-22 09:35:40 +02:00
Àlex Fiestas
581475ff3b Telephony no longer requires KDELibs4Support 2014-09-22 09:28:47 +02:00
Àlex Fiestas
e3f9b0e31f Port share plugin free of KDELibs4Support 2014-09-22 09:24:59 +02:00
Àlex Fiestas
e84f30d34e Remove KDELibs4Support in the Battery plugin
Just CMake changes were needed.
2014-09-22 09:16:29 +02:00
À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