Imported existing sources
This commit is contained in:
1 parent
522ad6ee77
commit
8ff2754dd3
91 files changed
+4988
No files matched your search
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user