MagicSmoke  $VERSION$
ticket.cpp File Reference
#include "MOTicket"
#include "MOVoucher"
#include "msinterface.h"
#include "MTGetEvent"
#include <QVariant>

Variables

static bool mocv
 
static int mymeta
 

Variable Documentation

bool mocv
static
Initial value:
=
QMetaType::registerConverter<Nullable<MOTicket>,MOTicket>([](const Nullable<MOTicket>&n){return n.value();})|
QMetaType::registerConverter<QList<MOTicket>,QVariantList>([](const QList<MOTicket>&n){QVariantList r;for(auto v:n)r<<QVariant::fromValue(v);return r;})|
QMetaType::registerConverter<Nullable<MOVoucher>,MOVoucher>([](const Nullable<MOVoucher>&n){return n.value();})|
QMetaType::registerConverter<QList<MOVoucher>,QVariantList>([](const QList<MOVoucher>&n){QVariantList r;for(auto v:n)r<<QVariant::fromValue(v);return r;})
Definition: voucher.h:24
Definition: ticket.h:25
int mymeta
static
Initial value:
=
qRegisterMetaType<MOTicket>()+
qRegisterMetaType<QList<MOTicket> >()+
qRegisterMetaType<Nullable<MOTicket> >()+
qRegisterMetaType<MOVoucher>()+
qRegisterMetaType<QList<MOVoucher> >()+
qRegisterMetaType<Nullable<MOVoucher> >()