aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-06-04 07:26:56 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-06-04 07:26:56 +0900
commitfc0a6d894637517a3b88fc0534621d5fb6a4fbbc (patch)
tree1f94067b7be47500bfcd46d845dc5eddc80ac3e8 /lib
parentddf10847d496dd65b00bc2026412958acd09790d (diff)
downloadlibquotient-fc0a6d894637517a3b88fc0534621d5fb6a4fbbc.tar.gz
libquotient-fc0a6d894637517a3b88fc0534621d5fb6a4fbbc.zip
converters.*: Fixes
Qualify functions properly; add converters.* to libqmatrixclient.pri
Diffstat (limited to 'lib')
-rw-r--r--lib/converters.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/converters.cpp b/lib/converters.cpp
index f726db4c..f09fe5c2 100644
--- a/lib/converters.cpp
+++ b/lib/converters.cpp
@@ -22,18 +22,18 @@
using namespace QMatrixClient;
-QJsonValue toJson(const QVariant& v)
+QJsonValue QMatrixClient::toJson(const QVariant& v)
{
return QJsonValue::fromVariant(v);
}
-QJsonObject toJson(const QVariantMap& map)
+QJsonObject QMatrixClient::toJson(const QVariantMap& map)
{
return QJsonObject::fromVariantMap(map);
}
#if (QT_VERSION >= QT_VERSION_CHECK(5, 5, 0))
-QJsonObject toJson(const QVariantHash& hMap)
+QJsonObject QMatrixClient::toJson(const QVariantHash& hMap)
{
return QJsonObject::fromVariantHash(hMap);
}