Imported existing sources

This commit is contained in:
0xFEEDC0DE64 committed 2018-09-16 06:05:23 +02:00
1 parent 522ad6ee77
commit 8ff2754dd3
91 files changed
+4988

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
#include "imagecollection.h"
#include <QDebug>
#include <QJsonValue>
#include <QJsonArray>
ImageCollection::ImageCollection(QObject *parent) :
BaseContainer(parent)
{
}
bool ImageCollection::parseProperty(const QString &key, const QJsonValue &value)
{
if(key == QStringLiteral("images"))
{
Q_ASSERT(value.isObject());
for(auto imageValue : value.toArray())
{
//TODO
//qWarning() << "images not implemented";
}
return true;
}
return BaseContainer::parseProperty(key, value);
}