16 lines
291 B
C
16 lines
291 B
C
|
#pragma once
|
||
|
|
||
|
#include "CheckableItem.h"
|
||
|
|
||
|
#include <QJsonObject>
|
||
|
#include <vector>
|
||
|
|
||
|
class CheckableItems : public std::vector<CheckableItem>
|
||
|
{
|
||
|
public:
|
||
|
CheckableItems(std::initializer_list<std::string> itemNames);
|
||
|
|
||
|
void write(QJsonArray &json) const;
|
||
|
void read(const QJsonArray &json);
|
||
|
};
|