aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/profile.h
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/generated/profile.h')
-rw-r--r--jobs/generated/profile.h19
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