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