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-11-30 03:36:29 +0900 |
commit | bcdede472add732c49c95564034c8cfa1c38c725 (patch) | |
tree | f8a67ed14c6439633ec4ddc7f2bb16e235ce97fd /jobs/generated/login.h | |
parent | 357625eb55e2f4569bb487ffe14a9236188e25f3 (diff) | |
download | libquotient-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/login.h')
-rw-r--r-- | jobs/generated/login.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/jobs/generated/login.h b/jobs/generated/login.h index dc89206d..8fcca09a 100644 --- a/jobs/generated/login.h +++ b/jobs/generated/login.h @@ -18,14 +18,14 @@ namespace QMatrixClient class LoginJob : public BaseJob { public: - explicit LoginJob(QString type, QString user = {}, QString medium = {}, QString address = {}, QString password = {}, QString token = {}, QString device_id = {}, QString initial_device_display_name = {}); + explicit LoginJob(QString type, QString user = {}, QString medium = {}, QString address = {}, QString password = {}, QString token = {}, QString deviceId = {}, QString initialDeviceDisplayName = {}); ~LoginJob() override; - const QString& user_id() const; - const QString& access_token() const; - const QString& home_server() const; - const QString& device_id() const; + const QString& userId() const; + const QString& accessToken() const; + const QString& homeServer() const; + const QString& deviceId() const; protected: Status parseJson(const QJsonDocument& data) override; |