aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/versions.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-02-03 19:17:10 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-02-03 19:17:10 +0900
commit23dc9a3259108f8e0c55e535b9341042f1ff77f5 (patch)
tree59e6c68b14fc73f0aab6d72807ce85ec241947d8 /jobs/generated/versions.cpp
parente000929c0b06752703056b890ff0b5a4deae1c6a (diff)
downloadlibquotient-23dc9a3259108f8e0c55e535b9341042f1ff77f5.tar.gz
libquotient-23dc9a3259108f8e0c55e535b9341042f1ff77f5.zip
jobs/generated: Generate job-specific makeRequestUrl() methods
Diffstat (limited to 'jobs/generated/versions.cpp')
-rw-r--r--jobs/generated/versions.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/jobs/generated/versions.cpp b/jobs/generated/versions.cpp
index 938c1d34..b12594ca 100644
--- a/jobs/generated/versions.cpp
+++ b/jobs/generated/versions.cpp
@@ -18,6 +18,12 @@ class GetVersionsJob::Private
QVector<QString> versions;
};
+QUrl GetVersionsJob::makeRequestUrl(QUrl baseUrl)
+{
+ return BaseJob::makeRequestUrl(baseUrl,
+ basePath % "/versions");
+}
+
GetVersionsJob::GetVersionsJob()
: BaseJob(HttpVerb::Get, "GetVersionsJob",
basePath % "/versions", false)