diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-01-03 12:11:16 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-01-09 11:54:37 +0900 |
commit | f951ab8a931c68f61b9710a540b2c971bbf502ca (patch) | |
tree | fbd0375e5c77ffcea6a7251ff32747fb4ce56db5 /jobs/generated/profile.h | |
parent | 8fb9e3560ebf24ed6b697e3142a4fc7c6bd23393 (diff) | |
download | libquotient-f951ab8a931c68f61b9710a540b2c971bbf502ca.tar.gz libquotient-f951ab8a931c68f61b9710a540b2c971bbf502ca.zip |
jobs/generated: Polish formatting; other minor cleanup
Diffstat (limited to 'jobs/generated/profile.h')
-rw-r--r-- | jobs/generated/profile.h | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/jobs/generated/profile.h b/jobs/generated/profile.h index 30e858de..9cbf3865 100644 --- a/jobs/generated/profile.h +++ b/jobs/generated/profile.h @@ -2,7 +2,6 @@ * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN */ - #pragma once #include "../basejob.h" @@ -27,13 +26,13 @@ namespace QMatrixClient ~GetDisplayNameJob() override; const QString& displayname() const; - + protected: Status parseJson(const QJsonDocument& data) override; - + private: class Private; - Private* d; + QScopedPointer<Private> d; }; class SetAvatarUrlJob : public BaseJob @@ -49,13 +48,13 @@ namespace QMatrixClient ~GetAvatarUrlJob() override; const QString& avatarUrl() const; - + protected: Status parseJson(const QJsonDocument& data) override; - + private: class Private; - Private* d; + QScopedPointer<Private> d; }; class GetUserProfileJob : public BaseJob @@ -66,12 +65,12 @@ namespace QMatrixClient const QString& avatarUrl() const; const QString& displayname() const; - + protected: Status parseJson(const QJsonDocument& data) override; - + private: class Private; - Private* d; + QScopedPointer<Private> d; }; } // namespace QMatrixClient |