=
QMetaType::registerConverter<Nullable<MOOrder>,
MOOrder>([](
const Nullable<MOOrder>&n){
return n.value();})|
QMetaType::registerConverter<QList<MOOrder>,QVariantList>([](const QList<MOOrder>&n){QVariantList r;for(auto v:n)r<<QVariant::fromValue(v);return r;})|
QMetaType::registerConverter<Nullable<MOOrderInfo>,
MOOrderInfo>([](
const Nullable<MOOrderInfo>&n){
return n.value();})|
QMetaType::registerConverter<QList<MOOrderInfo>,QVariantList>([](const QList<MOOrderInfo>&n){QVariantList r;for(auto v:n)r<<QVariant::fromValue(v);return r;})|
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: orderinfo.h:24
Definition: srcMORole.h:14
this class represents a complete order
Definition: order.h:27