diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-11-30 03:36:29 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-12-07 12:33:55 +0900 |
commit | 6fc3c79c2b3ac318d3a140594ded28020f9a8afb (patch) | |
tree | d1940e407f68966cb7dbffb991ca06a2d728dbc1 /jobs/generated/profile.h | |
parent | e88627976488b0b6eea6da3389eefb860980d661 (diff) | |
download | libquotient-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.h | 6 |
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: |