MagicSmoke
$VERSION$
|
returns a specific voucher with detailed info More...
#include <srcMTGetVoucher.h>
Public Member Functions | |
MTGetVoucher () | |
default constructor: generates an invalid transaction More... | |
MTGetVoucher (const MTGetVoucher &) | |
copy constructor: the two copies share their state More... | |
virtual | ~MTGetVoucher () |
deletes this instance More... | |
Q_SLOT Nullable< bool > | getispaidfor () const |
Q_SLOT Nullable< MOVoucher > | getvoucher () const |
MTGetVoucher & | operator= (const MTGetVoucher &) |
copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
static MTGetVoucher | asyncQuery (const QString &avoucherid, QString iface="MagicSmoke") |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state More... | |
static MTGetVoucher | query (const QString &avoucherid, QString iface="MagicSmoke") |
emits the query over the network and returns the finished transaction object More... | |
Static Public Member Functions inherited from MTransaction | |
static void | setStartStopActions (const MTStartStop &start, const MTStartStop &stop) |
set actions to be executed at start/stop More... | |
Protected Member Functions | |
MTGetVoucher (const QString &avoucherid, QString iface) | |
generates an instance from its properties More... | |
virtual void | endQuery () |
Protected Member Functions inherited from MTransaction | |
MTransaction (QString iface=QString()) | |
internal: construct the transaction More... | |
MTransaction (const WTransaction &) | |
internal: copy the transaction More... | |
MTransaction (const MTransaction &) | |
internal: copy the transaction More... | |
QByteArray | executeQuery (QString, QByteArray) |
internal: extend executeQuery to show a wait cursor More... | |
Friends | |
class | MTGetVoucher_Private |
returns a specific voucher with detailed info
|
explicitprotected |
generates an instance from its properties
avoucherid | |
iface | ID of the interface that the transaction will be sent on |
References MTGetVoucher_Private::in_voucherid, and MTGetVoucher_Private.
MTGetVoucher::MTGetVoucher | ( | ) |
default constructor: generates an invalid transaction
References MTGetVoucher_Private.
MTGetVoucher::MTGetVoucher | ( | const MTGetVoucher & | t | ) |
copy constructor: the two copies share their state
References MTGetVoucher_Private::attach().
|
virtual |
deletes this instance
References MTGetVoucher_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
avoucherid | |
iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
Nullable< bool > MTGetVoucher::getispaidfor | ( | ) | const |
References MTGetVoucher_Private::out_ispaidfor.
Nullable< MOVoucher > MTGetVoucher::getvoucher | ( | ) | const |
References MTGetVoucher_Private::out_voucher.
MTGetVoucher & MTGetVoucher::operator= | ( | const MTGetVoucher & | t | ) |
copy assignment: the copy shares the state of the original object
References MTGetVoucher_Private::attach(), and MTGetVoucher_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
avoucherid | |
iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::queryGetVoucher().
|
friend |
Referenced by MTGetVoucher().