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-12-07 12:33:55 +0900
commit6fc3c79c2b3ac318d3a140594ded28020f9a8afb (patch)
treed1940e407f68966cb7dbffb991ca06a2d728dbc1 /jobs/generated/profile.h
parente88627976488b0b6eea6da3389eefb860980d661 (diff)
downloadlibquotient-6fc3c79c2b3ac318d3a140594ded28020f9a8afb.tar.gz
libquotient-6fc3c79c2b3ac318d3a140594ded28020f9a8afb.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: