MagicSmoke  $VERSION$
srcMOFlag.cpp File Reference
#include "MOFlag"
#include <QDomElement>
#include <QDomDocument>
#include <QVariant>

Variables

static bool class_converter
 
static int class_metatypeid = qRegisterMetaType<MOFlag>()+ qRegisterMetaType<QList<MOFlag> >()+ qRegisterMetaType<Nullable<MOFlag> >()
 

Variable Documentation

bool class_converter
static
Initial value:
=QMetaType::registerConverter<Nullable<MOFlag>,MOFlag>([](const Nullable<MOFlag>&n){return n.value();})|
QMetaType::registerConverter<QList<MOFlag>,QVariantList>([](const QList<MOFlag>&n){QVariantList r;for(auto v:n)r<<QVariant::fromValue(v);return r;})
Transport class for flags and their descriptions. They are actually stored in the config table...
Definition: srcMOFlag.h:15
int class_metatypeid = qRegisterMetaType<MOFlag>()+ qRegisterMetaType<QList<MOFlag> >()+ qRegisterMetaType<Nullable<MOFlag> >()
static