|
MagicSmoke
$VERSION$
|
Returns a specific template. More...
#include <srcMTGetTemplate.h>
Public Member Functions | |
| MTGetTemplate () | |
| default constructor: generates an invalid transaction More... | |
| MTGetTemplate (const MTGetTemplate &) | |
| copy constructor: the two copies share their state More... | |
| virtual | ~MTGetTemplate () |
| deletes this instance More... | |
| Q_SLOT Nullable< MOTemplate > | gettemplatefile () const |
| MTGetTemplate & | operator= (const MTGetTemplate &) |
| copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
| static MTGetTemplate | asyncQuery (const QString &afilename, 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 MTGetTemplate | query (const QString &afilename, 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 | |
| MTGetTemplate (const QString &afilename, 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 | MTGetTemplate_Private |
Returns a specific template.
|
explicitprotected |
generates an instance from its properties
| afilename | |
| iface | ID of the interface that the transaction will be sent on |
References MTGetTemplate_Private::in_filename, and MTGetTemplate_Private.
| MTGetTemplate::MTGetTemplate | ( | ) |
default constructor: generates an invalid transaction
References MTGetTemplate_Private.
| MTGetTemplate::MTGetTemplate | ( | const MTGetTemplate & | t | ) |
copy constructor: the two copies share their state
References MTGetTemplate_Private::attach().
|
virtual |
deletes this instance
References MTGetTemplate_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
| afilename | |
| iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
| Nullable< MOTemplate > MTGetTemplate::gettemplatefile | ( | ) | const |
References MTGetTemplate_Private::out_templatefile.
| MTGetTemplate & MTGetTemplate::operator= | ( | const MTGetTemplate & | t | ) |
copy assignment: the copy shares the state of the original object
References MTGetTemplate_Private::attach(), and MTGetTemplate_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
| afilename | |
| iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::queryGetTemplate().
|
friend |
Referenced by MTGetTemplate().