MagicSmoke
$VERSION$
|
Returns a list of all shipping methods that the user has access to. This transaction is sensitive to flags, like "anyshipping". More...
#include <srcMTGetAllShipping.h>
Public Member Functions | |
MTGetAllShipping () | |
default constructor: generates an invalid transaction More... | |
MTGetAllShipping (const MTGetAllShipping &) | |
copy constructor: the two copies share their state More... | |
virtual | ~MTGetAllShipping () |
deletes this instance More... | |
Q_SLOT QList< MOShipping > | getshipping () const |
MTGetAllShipping & | operator= (const MTGetAllShipping &) |
copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
static MTGetAllShipping | asyncQuery (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 MTGetAllShipping | query (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 | |
MTGetAllShipping (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 | MTGetAllShipping_Private |
Returns a list of all shipping methods that the user has access to. This transaction is sensitive to flags, like "anyshipping".
|
explicitprotected |
generates an instance from its properties
iface | ID of the interface that the transaction will be sent on |
References MTGetAllShipping_Private.
MTGetAllShipping::MTGetAllShipping | ( | ) |
default constructor: generates an invalid transaction
References MTGetAllShipping_Private.
MTGetAllShipping::MTGetAllShipping | ( | const MTGetAllShipping & | t | ) |
copy constructor: the two copies share their state
References MTGetAllShipping_Private::attach().
|
virtual |
deletes this instance
References MTGetAllShipping_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
QList< MOShipping > MTGetAllShipping::getshipping | ( | ) | const |
References MTGetAllShipping_Private::out_shipping.
Referenced by MCartTab::updateShipping().
MTGetAllShipping & MTGetAllShipping::operator= | ( | const MTGetAllShipping & | t | ) |
copy assignment: the copy shares the state of the original object
References MTGetAllShipping_Private::attach(), and MTGetAllShipping_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::queryGetAllShipping(), and MCartTab::updateShipping().
|
friend |
Referenced by MTGetAllShipping().