From fc0a6d894637517a3b88fc0534621d5fb6a4fbbc Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Mon, 4 Jun 2018 07:26:56 +0900 Subject: converters.*: Fixes Qualify functions properly; add converters.* to libqmatrixclient.pri --- lib/converters.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') 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); } -- cgit v1.2.3