diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2016-05-05 19:19:52 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2016-07-26 16:51:11 +0900 |
commit | 2eb18a735a5f75a77387a211f4311222d00c2d6c (patch) | |
tree | e9b6232d9e75eeeb73354d2b2f0ecf0d37bed3e9 /connectionprivate.h | |
parent | 3c11f55bfd2b626e330277255bb0c38fbbae84fa (diff) | |
download | libquotient-2eb18a735a5f75a77387a211f4311222d00c2d6c.tar.gz libquotient-2eb18a735a5f75a77387a211f4311222d00c2d6c.zip |
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.
Diffstat (limited to 'connectionprivate.h')
-rw-r--r-- | connectionprivate.h | 11 |
1 files changed, 3 insertions, 8 deletions
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 <QtCore/QObject> #include <QtCore/QHash> #include <QtCore/QJsonObject> #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); }; } |