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