MagicSmoke  $VERSION$
srcMOHost.cpp File Reference
#include "MOHost"
#include <QDomElement>
#include <QDomDocument>
#include <QVariant>

Variables

static bool class_converter
 
static int class_metatypeid = qRegisterMetaType<MOHost>()+ qRegisterMetaType<QList<MOHost> >()+ qRegisterMetaType<Nullable<MOHost> >()
 

Variable Documentation

bool class_converter
static
Initial value:
=QMetaType::registerConverter<Nullable<MOHost>,MOHost>([](const Nullable<MOHost>&n){return n.value();})|
QMetaType::registerConverter<QList<MOHost>,QVariantList>([](const QList<MOHost>&n){QVariantList r;for(auto v:n)r<<QVariant::fromValue(v);return r;})
Definition: srcMOHost.h:14
int class_metatypeid = qRegisterMetaType<MOHost>()+ qRegisterMetaType<QList<MOHost> >()+ qRegisterMetaType<Nullable<MOHost> >()
static