aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/list_public_rooms.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-01-03 12:11:16 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-01-09 11:54:37 +0900
commitf951ab8a931c68f61b9710a540b2c971bbf502ca (patch)
treefbd0375e5c77ffcea6a7251ff32747fb4ce56db5 /jobs/generated/list_public_rooms.h
parent8fb9e3560ebf24ed6b697e3142a4fc7c6bd23393 (diff)
downloadlibquotient-f951ab8a931c68f61b9710a540b2c971bbf502ca.tar.gz
libquotient-f951ab8a931c68f61b9710a540b2c971bbf502ca.zip
jobs/generated: Polish formatting; other minor cleanup
Diffstat (limited to 'jobs/generated/list_public_rooms.h')
-rw-r--r--jobs/generated/list_public_rooms.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/jobs/generated/list_public_rooms.h b/jobs/generated/list_public_rooms.h
index 74dd8626..f6467a21 100644
--- a/jobs/generated/list_public_rooms.h
+++ b/jobs/generated/list_public_rooms.h
@@ -2,7 +2,6 @@
* THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
*/
-
#pragma once
#include "../basejob.h"
@@ -45,13 +44,13 @@ namespace QMatrixClient
const QString& nextBatch() const;
const QString& prevBatch() const;
double totalRoomCountEstimate() const;
-
+
protected:
Status parseJson(const QJsonDocument& data) override;
-
+
private:
class Private;
- Private* d;
+ QScopedPointer<Private> d;
};
class QueryPublicRoomsJob : public BaseJob
@@ -90,12 +89,12 @@ namespace QMatrixClient
const QString& nextBatch() const;
const QString& prevBatch() const;
double totalRoomCountEstimate() const;
-
+
protected:
Status parseJson(const QJsonDocument& data) override;
-
+
private:
class Private;
- Private* d;
+ QScopedPointer<Private> d;
};
} // namespace QMatrixClient