#include "Model.hpp" #include #include W_OBJECT_IMPL(Hardware::Settings::Model) namespace Hardware { namespace Settings { namespace Parameters { SETTINGS_PARAMETER_IMPL(Enabled){QStringLiteral("Hardware/Enabled"), false}; static auto list() { return std::tie(Enabled); } } Model::Model(QSettings& set, const score::ApplicationContext& ctx) { score::setupDefaultSettings(set, Parameters::list(), *this); } SCORE_SETTINGS_PARAMETER_CPP(bool, Model, Enabled) } }