configurator/lib/Service.h
Bernhard Rosenkränzer 32af5c8e93 Service selection dialog
2024-09-03 15:40:08 +02:00

30 lines
460 B
C++

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