|
MagicSmoke
$VERSION$
|
returns a specific ticket with detailed info More...
#include <srcMTGetTicket.h>
Public Member Functions | |
| MTGetTicket () | |
| default constructor: generates an invalid transaction More... | |
| MTGetTicket (const MTGetTicket &) | |
| copy constructor: the two copies share their state More... | |
| virtual | ~MTGetTicket () |
| deletes this instance More... | |
| Q_SLOT Nullable< MOTicket > | getticket () const |
| MTGetTicket & | operator= (const MTGetTicket &) |
| copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
| static MTGetTicket | asyncQuery (const QString &aticketid, 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 MTGetTicket | query (const QString &aticketid, 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 | |
| MTGetTicket (const QString &aticketid, 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 | MTGetTicket_Private |
returns a specific ticket with detailed info
|
explicitprotected |
generates an instance from its properties
| aticketid | |
| iface | ID of the interface that the transaction will be sent on |
References MTGetTicket_Private::in_ticketid, and MTGetTicket_Private.
| MTGetTicket::MTGetTicket | ( | ) |
default constructor: generates an invalid transaction
References MTGetTicket_Private.
| MTGetTicket::MTGetTicket | ( | const MTGetTicket & | t | ) |
copy constructor: the two copies share their state
References MTGetTicket_Private::attach().
|
virtual |
deletes this instance
References MTGetTicket_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
| aticketid | |
| iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
| Nullable< MOTicket > MTGetTicket::getticket | ( | ) | const |
References MTGetTicket_Private::out_ticket.
| MTGetTicket & MTGetTicket::operator= | ( | const MTGetTicket & | t | ) |
copy assignment: the copy shares the state of the original object
References MTGetTicket_Private::attach(), and MTGetTicket_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
| aticketid | |
| iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::queryGetTicket().
|
friend |
Referenced by MTGetTicket().