aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/profile.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-11-30 03:36:29 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-11-30 03:36:29 +0900
commitbcdede472add732c49c95564034c8cfa1c38c725 (patch)
treef8a67ed14c6439633ec4ddc7f2bb16e235ce97fd /jobs/generated/profile.h
parent357625eb55e2f4569bb487ffe14a9236188e25f3 (diff)
downloadlibquotient-bcdede472add732c49c95564034c8cfa1c38c725.tar.gz
libquotient-bcdede472add732c49c95564034c8cfa1c38c725.zip
Generated jobs: Apply naming convention to parameters
It's now camelCase everywhere, even if The Spec uses snake_case (it is not consistent in that respect).
Diffstat (limited to 'jobs/generated/profile.h')
-rw-r--r--jobs/generated/profile.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/jobs/generated/profile.h b/jobs/generated/profile.h
index 8e2b195b..cd460ac3 100644
--- a/jobs/generated/profile.h
+++ b/jobs/generated/profile.h
@@ -40,7 +40,7 @@ namespace QMatrixClient
class SetAvatarUrlJob : public BaseJob
{
public:
- explicit SetAvatarUrlJob(QString userId, QString avatar_url = {});
+ explicit SetAvatarUrlJob(QString userId, QString avatarUrl = {});
};
class GetAvatarUrlJob : public BaseJob
@@ -50,7 +50,7 @@ namespace QMatrixClient
~GetAvatarUrlJob() override;
- const QString& avatar_url() const;
+ const QString& avatarUrl() const;
protected:
Status parseJson(const QJsonDocument& data) override;
@@ -66,7 +66,7 @@ namespace QMatrixClient
~GetUserProfileJob() override;
- const QString& avatar_url() const;
+ const QString& avatarUrl() const;
const QString& displayname() const;
protected: