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-03 12:13:30 +0900 |
commit | 04c53826b0694dee38010b2f5116db6cf2e9b221 (patch) | |
tree | afdb71dc626f81bcff85b87b75113a90abad356a /jobs/generated/profile.h | |
parent | 0b5f0deb773f850d1b905fafc656f67f5b63de24 (diff) | |
download | libquotient-04c53826b0694dee38010b2f5116db6cf2e9b221.tar.gz libquotient-04c53826b0694dee38010b2f5116db6cf2e9b221.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 |