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/CheckableTest/CheckableTest.cpp

29 lines
419 B
C++

#include "CheckableTest.h"
CheckableTest::CheckableTest(
const char *name, std::initializer_list<std::string> items)
: m_name(name)
, m_items(items)
{
}
size_t CheckableTest::size() const
{
return m_items.size();
}
const QString &CheckableTest::name() const
{
return m_name;
}
const CheckableItems &CheckableTest::items() const
{
return m_items;
}
CheckableItems &CheckableTest::items()
{
return m_items;
}