aboutsummaryrefslogtreecommitdiff
path: root/jobs/roommessagesjob.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2016-10-13 09:07:15 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2016-10-15 14:50:53 +0900
commit4943cbea505aacdd33bf93c3365588ba73785d4d (patch)
tree35cd89970af3ecbb953a8347117094999cd5f46d /jobs/roommessagesjob.h
parent6536124821c1df791a69a58de21a71322d9363f6 (diff)
downloadlibquotient-4943cbea505aacdd33bf93c3365588ba73785d4d.tar.gz
libquotient-4943cbea505aacdd33bf93c3365588ba73785d4d.zip
BaseJob: Use saved parameters instead of overriding apiPath(), query() and data() in each job class
Diffstat (limited to 'jobs/roommessagesjob.h')
-rw-r--r--jobs/roommessagesjob.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/jobs/roommessagesjob.h b/jobs/roommessagesjob.h
index 9bedcad9..227ffac2 100644
--- a/jobs/roommessagesjob.h
+++ b/jobs/roommessagesjob.h
@@ -32,15 +32,14 @@ namespace QMatrixClient
class RoomMessagesJob: public BaseJob
{
public:
- RoomMessagesJob(ConnectionData* data, Room* room, QString from, FetchDirectory dir = FetchDirectory::Backwards, int limit=10);
+ RoomMessagesJob(ConnectionData* data, Room* room, QString from,
+ FetchDirectory dir = FetchDirectory::Backwards, int limit=10);
virtual ~RoomMessagesJob();
Events events();
QString end();
protected:
- QString apiPath() const override;
- QUrlQuery query() const override;
Status parseJson(const QJsonDocument& data) override;
private: