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.h20
1 files changed, 9 insertions, 11 deletions
diff --git a/jobs/generated/profile.h b/jobs/generated/profile.h
index 30e858de..1e09791d 100644
--- a/jobs/generated/profile.h
+++ b/jobs/generated/profile.h
@@ -2,12 +2,10 @@
* THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
*/
-
#pragma once
#include "../basejob.h"
-#include <QtCore/QString>
namespace QMatrixClient
@@ -27,13 +25,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 +47,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 +64,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