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