aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/third_party_lookup.cpp
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-07-02 10:34:16 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-07-02 10:34:16 +0200
commit7aa6e7c300779f652558397bcb7bb3b726d30cb9 (patch)
tree4d0057a53e7d7dd5274d55b955d9ac32dc28d51f /lib/csapi/third_party_lookup.cpp
parentb64bfa8f72084d9d9397001a735e985a4bf94e56 (diff)
downloadlibquotient-7aa6e7c300779f652558397bcb7bb3b726d30cb9.tar.gz
libquotient-7aa6e7c300779f652558397bcb7bb3b726d30cb9.zip
Abandon BaseJob::Query - generated API files
Diffstat (limited to 'lib/csapi/third_party_lookup.cpp')
-rw-r--r--lib/csapi/third_party_lookup.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/csapi/third_party_lookup.cpp b/lib/csapi/third_party_lookup.cpp
index baf1fab5..93687a76 100644
--- a/lib/csapi/third_party_lookup.cpp
+++ b/lib/csapi/third_party_lookup.cpp
@@ -36,7 +36,7 @@ GetProtocolMetadataJob::GetProtocolMetadataJob(const QString& protocol)
auto queryToQueryLocationByProtocol(const QString& searchFields)
{
- BaseJob::Query _q;
+ QUrlQuery _q;
addParam<IfNotEmpty>(_q, QStringLiteral("searchFields"), searchFields);
return _q;
}
@@ -61,7 +61,7 @@ QueryLocationByProtocolJob::QueryLocationByProtocolJob(
auto queryToQueryUserByProtocol(const QString& fields)
{
- BaseJob::Query _q;
+ QUrlQuery _q;
addParam<IfNotEmpty>(_q, QStringLiteral("fields..."), fields);
return _q;
}
@@ -86,7 +86,7 @@ QueryUserByProtocolJob::QueryUserByProtocolJob(const QString& protocol,
auto queryToQueryLocationByAlias(const QString& alias)
{
- BaseJob::Query _q;
+ QUrlQuery _q;
addParam<>(_q, QStringLiteral("alias"), alias);
return _q;
}
@@ -107,7 +107,7 @@ QueryLocationByAliasJob::QueryLocationByAliasJob(const QString& alias)
auto queryToQueryUserByID(const QString& userid)
{
- BaseJob::Query _q;
+ QUrlQuery _q;
addParam<>(_q, QStringLiteral("userid"), userid);
return _q;
}