first commit

This commit is contained in:
2025-09-13 15:34:27 +02:00
commit d423636b03
18 changed files with 475 additions and 0 deletions

19
metadata.cpp Normal file
View File

@@ -0,0 +1,19 @@
#include "metadata.h"
Metadata::Metadata(QString name) {
this->_name = name;
}
Metadata::Metadata(QJsonObject obj)
{
this->_id = obj["id"].toString();
this->_name = obj["name"].toString();
this->_version = obj["version"].toInt();
this->_date = QDateTime::fromString(obj["date"].toString());
this->_md5 = obj["md5"].toString();
}
QString Metadata::md5()
{
return this->_md5;
}