| 1 | /* |
| 2 | This file is part of the KDE Baloo project. |
| 3 | SPDX-FileCopyrightText: 2019 Stefan BrĂ¼ns <stefan.bruens@rwth-aachen.de> |
| 4 | |
| 5 | SPDX-License-Identifier: LGPL-2.1-or-later |
| 6 | */ |
| 7 | |
| 8 | #ifndef BALOO_PROPERTYDATA_H |
| 9 | #define BALOO_PROPERTYDATA_H |
| 10 | |
| 11 | #include <KFileMetaData/Properties> |
| 12 | #include <QJsonObject> |
| 13 | |
| 14 | namespace Baloo |
| 15 | { |
| 16 | |
| 17 | const QJsonObject propertyMapToJson(const KFileMetaData::PropertyMultiMap& properties); |
| 18 | const KFileMetaData::PropertyMultiMap jsonToPropertyMap(const QJsonObject& properties); |
| 19 | |
| 20 | } // namespace Baloo |
| 21 | |
| 22 | #endif // BALOO_PROPERTYDATA_H |
| 23 | |