3 #ifndef WOBGEN_MTUseTicket
4 #define WOBGEN_MTUseTicket
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
11 #include "MTransaction"
12 #include <MOTicketUse>
28 explicit MTUseTicket(
const QString &aticketid,
const qint64 &aeventid,QString iface);
41 QByteArray encodeData();
42 void decodeData(QByteArray);
44 virtual void endQuery();
50 static MTUseTicket query(
const QString &aticketid,
const qint64 &aeventid,QString iface=
"MagicSmoke");
55 static MTUseTicket asyncQuery(
const QString &aticketid,
const qint64 &aeventid,QString iface=
"MagicSmoke");
57 Q_SLOT Nullable<MOTicketUse> getticketuse()
const;
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTUseTicket.h:8
Attempts to mark a ticket as used. Fails if the ticket has already been used or is not paid for...
Definition: srcMTUseTicket.h:17
Definition: srcMTUseTicket.cpp:12
Definition: transaction.h:25
Q_DECLARE_METATYPE(QDomNode)
friend class MTUseTicket
Definition: srcMTUseTicket.cpp:15