MagicSmoke  $VERSION$
srcMOCartVoucher.cpp File Reference
#include "MOCartVoucher"
#include <QDomElement>
#include <QDomDocument>
#include <QVariant>

Variables

static bool class_converter
 
static int class_metatypeid = qRegisterMetaType<MOCartVoucher>()+ qRegisterMetaType<QList<MOCartVoucher> >()+ qRegisterMetaType<Nullable<MOCartVoucher> >()
 
static int enum_ValidationState_metatypeid =qRegisterMetaType<MOCartVoucher::ValidationState>()
 
static int enum_ValidationState_metatypeid2 =qRegisterMetaType<QList<MOCartVoucher::ValidationState> >()
 

Variable Documentation

bool class_converter
static
Initial value:
=QMetaType::registerConverter<Nullable<MOCartVoucher>,MOCartVoucher>([](const Nullable<MOCartVoucher>&n){return n.value();})|
QMetaType::registerConverter<QList<MOCartVoucher>,QVariantList>([](const QList<MOCartVoucher>&n){QVariantList r;for(auto v:n)r<<QVariant::fromValue(v);return r;})
Encapsulates vouchers as they are stored in the cart. Used by the client to tell the server about new...
Definition: srcMOCartVoucher.h:15
int class_metatypeid = qRegisterMetaType<MOCartVoucher>()+ qRegisterMetaType<QList<MOCartVoucher> >()+ qRegisterMetaType<Nullable<MOCartVoucher> >()
static
int enum_ValidationState_metatypeid =qRegisterMetaType<MOCartVoucher::ValidationState>()
static
int enum_ValidationState_metatypeid2 =qRegisterMetaType<QList<MOCartVoucher::ValidationState> >()
static