From 2eb18a735a5f75a77387a211f4311222d00c2d6c Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Thu, 5 May 2016 19:19:52 +0900 Subject: Rewritten BaseJob to not depend on KJob. Some parts of the code were copied from the KCoreAddons sources - surprisingly few, in fact, mostly API with comments. With this commit, libqmatrixclient doesn't depend on KCoreAddons. --- connectionprivate.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'connectionprivate.h') diff --git a/connectionprivate.h b/connectionprivate.h index 8e37a934..d1199081 100644 --- a/connectionprivate.h +++ b/connectionprivate.h @@ -19,15 +19,12 @@ #ifndef QMATRIXCLIENT_CONNECTIONPRIVATE_H #define QMATRIXCLIENT_CONNECTIONPRIVATE_H -class KJob; - #include #include #include #include "connection.h" #include "connectiondata.h" -#include "jobs/syncjob.h" namespace QMatrixClient { @@ -35,6 +32,8 @@ namespace QMatrixClient class Event; class State; class User; + class BaseJob; + class SyncRoomData; class ConnectionPrivate : public QObject { @@ -60,11 +59,7 @@ namespace QMatrixClient QString userId; public slots: -// void connectDone(KJob* job); -// void reconnectDone(KJob* job); -// void syncDone(KJob* job); -// void gotJoinRoom(KJob* job); - void gotRoomMembers(KJob* job); + void gotRoomMembers(BaseJob* job); }; } -- cgit v1.2.3