configurator/lib/Service.h
2024-09-03 18:59:36 +02:00

30 lines
474 B
C++

#pragma once
#include <QJsonArray>
#include <QJsonObject>
#include <QString>
#include <QUrl>
#include <QPixmap>
struct Service {
Service(QJsonObject const &o);
QPixmap const &pixmap() const;
QString title;
QUrl url;
QUrl documentationUrl;
QString image;
QString description;
QString specialNote;
bool LDAP;
protected:
mutable QPixmap _image;
};
class Services:public QList<Service> {
public:
Services():QList<Service>() {}
Services(QJsonArray const &a);
};