This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
ESGRAF48/source/Genus/CheckableItems.h

16 lines
297 B
C
Raw Normal View History

#pragma once
#include "CheckableItem.h"
#include <QJsonObject>
#include <map>
2018-05-23 09:08:50 +00:00
class CheckableItems : public std::vector<CheckableItem>
{
public:
2018-05-23 09:08:50 +00:00
CheckableItems(std::initializer_list<std::string> itemNames);
2018-05-23 09:08:50 +00:00
void write(QJsonArray &json) const;
void read(const QJsonArray &json);
};