diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/converters.cpp | 6 |
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); } |