aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/{{base}}.cpp.mustache
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-08-09 23:02:17 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-08-09 23:02:17 +0900
commit01570f70926c716441cdb62928231a35af72ebc3 (patch)
tree832bbdc4c75247fb93ce18e76eed02c6674bf55c /lib/csapi/{{base}}.cpp.mustache
parentb0f259c3aa4ca619a6998184d16f9ab2daf5b5f4 (diff)
parent38f063e75757e97bfe1fda9655ab460454ba99db (diff)
downloadlibquotient-01570f70926c716441cdb62928231a35af72ebc3.tar.gz
libquotient-01570f70926c716441cdb62928231a35af72ebc3.zip
Merge branch 'renaming'
Diffstat (limited to 'lib/csapi/{{base}}.cpp.mustache')
-rw-r--r--lib/csapi/{{base}}.cpp.mustache4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/csapi/{{base}}.cpp.mustache b/lib/csapi/{{base}}.cpp.mustache
index 8ebac6ef..6cbd1b65 100644
--- a/lib/csapi/{{base}}.cpp.mustache
+++ b/lib/csapi/{{base}}.cpp.mustache
@@ -8,7 +8,7 @@
{{/producesNonJson?}}
#include <QtCore/QStringBuilder>
{{/operations}}
-using namespace QMatrixClient;
+using namespace Quotient;
{{#models.model}}
{{#in?}}
void JsonObjectConverter<{{qualifiedName}}>::dumpTo(QJsonObject& jo, const {{qualifiedName}}& pod)
@@ -38,7 +38,7 @@ void JsonObjectConverter<{{qualifiedName}}>::fillFrom({{>maybeCrefJsonObject}} j
static const auto basePath = QStringLiteral("{{basePathWithoutHost}}");
{{#operation}}{{#models}}
// Converters
-namespace QMatrixClient
+namespace Quotient
{
{{#model}}
template <> struct JsonObjectConverter<{{qualifiedName}}>