3 #ifndef WOBGEN_MTChangeVoucherValidity
4 #define WOBGEN_MTChangeVoucherValidity
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
11 #include "MTransaction"
31 explicit MTChangeVoucherValidity(
const QString &avoucherid,
const bool &avalidforever,
const qint64 &avalidtime,
const QString &acomment,QString iface);
44 QByteArray encodeData();
45 void decodeData(QByteArray);
47 virtual void endQuery();
55 static MTChangeVoucherValidity query(
const QString &avoucherid,
const bool &avalidforever,
const qint64 &avalidtime,
const QString &acomment,QString iface=
"MagicSmoke");
62 static MTChangeVoucherValidity asyncQuery(
const QString &avoucherid,
const bool &avalidforever,
const qint64 &avalidtime,
const QString &acomment,QString iface=
"MagicSmoke");
64 Q_SLOT Nullable<MOVoucher> getvoucher()
const;
66 Q_SLOT Nullable<MOOrder> getorder()
const;
Definition: srcMTChangeVoucherValidity.cpp:12
friend class MTChangeVoucherValidity
Definition: srcMTChangeVoucherValidity.cpp:15
Definition: transaction.h:25
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTChangeVoucherValidity.h:8
Q_DECLARE_METATYPE(QDomNode)
Changes the validity date of the voucher.
Definition: srcMTChangeVoucherValidity.h:18