#include "MORole"
#include <QDomElement>
#include <QDomDocument>
#include <QVariant>
Initial value:=QMetaType::registerConverter<Nullable<MORole>,
MORole>([](
const Nullable<MORole>&n){
return n.value();})|
QMetaType::registerConverter<QList<MORole>,QVariantList>([](const QList<MORole>&n){QVariantList r;for(auto v:n)r<<QVariant::fromValue(v);return r;})
Definition: srcMORole.h:14
int class_metatypeid = qRegisterMetaType<MORole>()+ qRegisterMetaType<QList<MORole> >()+ qRegisterMetaType<Nullable<MORole> >() |
|
static |