diff options
Diffstat (limited to 'jobs/generated')
-rw-r--r-- | jobs/generated/banning.cpp | 4 | ||||
-rw-r--r-- | jobs/generated/inviting.cpp | 2 | ||||
-rw-r--r-- | jobs/generated/kicking.cpp | 2 | ||||
-rw-r--r-- | jobs/generated/login.cpp | 2 | ||||
-rw-r--r-- | jobs/generated/profile.cpp | 4 |
5 files changed, 7 insertions, 7 deletions
diff --git a/jobs/generated/banning.cpp b/jobs/generated/banning.cpp index 61677da6..96f80ea8 100644 --- a/jobs/generated/banning.cpp +++ b/jobs/generated/banning.cpp @@ -19,7 +19,7 @@ BanJob::BanJob(const QString& roomId, const QString& userId, const QString& reas Query { } ) { - Data _data; + QJsonObject _data; _data.insert("user_id", toJson(userId)); if (!reason.isEmpty()) _data.insert("reason", toJson(reason)); @@ -32,7 +32,7 @@ UnbanJob::UnbanJob(const QString& roomId, const QString& userId) Query { } ) { - Data _data; + QJsonObject _data; _data.insert("user_id", toJson(userId)); setRequestData(_data); } diff --git a/jobs/generated/inviting.cpp b/jobs/generated/inviting.cpp index 78c9a2f6..5f89adf7 100644 --- a/jobs/generated/inviting.cpp +++ b/jobs/generated/inviting.cpp @@ -19,7 +19,7 @@ InviteUserJob::InviteUserJob(const QString& roomId, const QString& userId) Query { } ) { - Data _data; + QJsonObject _data; _data.insert("user_id", toJson(userId)); setRequestData(_data); } diff --git a/jobs/generated/kicking.cpp b/jobs/generated/kicking.cpp index 5d6f1a64..86dde629 100644 --- a/jobs/generated/kicking.cpp +++ b/jobs/generated/kicking.cpp @@ -19,7 +19,7 @@ KickJob::KickJob(const QString& roomId, const QString& userId, const QString& re Query { } ) { - Data _data; + QJsonObject _data; _data.insert("user_id", toJson(userId)); if (!reason.isEmpty()) _data.insert("reason", toJson(reason)); diff --git a/jobs/generated/login.cpp b/jobs/generated/login.cpp index 892d0c81..4c159517 100644 --- a/jobs/generated/login.cpp +++ b/jobs/generated/login.cpp @@ -28,7 +28,7 @@ LoginJob::LoginJob(const QString& type, const QString& user, const QString& medi Query { }, Data { }, false ), d(new Private) { - Data _data; + QJsonObject _data; _data.insert("type", toJson(type)); if (!user.isEmpty()) _data.insert("user", toJson(user)); diff --git a/jobs/generated/profile.cpp b/jobs/generated/profile.cpp index 42a2350f..6ec566f7 100644 --- a/jobs/generated/profile.cpp +++ b/jobs/generated/profile.cpp @@ -19,7 +19,7 @@ SetDisplayNameJob::SetDisplayNameJob(const QString& userId, const QString& displ Query { } ) { - Data _data; + QJsonObject _data; if (!displayname.isEmpty()) _data.insert("displayname", toJson(displayname)); setRequestData(_data); @@ -61,7 +61,7 @@ SetAvatarUrlJob::SetAvatarUrlJob(const QString& userId, const QString& avatarUrl Query { } ) { - Data _data; + QJsonObject _data; if (!avatarUrl.isEmpty()) _data.insert("avatar_url", toJson(avatarUrl)); setRequestData(_data); |