#include "MOFlag"
#include <QDomElement>
#include <QDomDocument>
#include <QVariant>
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 |