MagicSmoke  $VERSION$
MTGetAllShipping Class Reference

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>

Inheritance diagram for MTGetAllShipping:
MTransaction

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< MOShippinggetshipping () const
 
MTGetAllShippingoperator= (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
 

Detailed Description

Returns a list of all shipping methods that the user has access to. This transaction is sensitive to flags, like "anyshipping".

Constructor & Destructor Documentation

MTGetAllShipping::MTGetAllShipping ( QString  iface)
explicitprotected

generates an instance from its properties

Parameters
ifaceID 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().

MTGetAllShipping::~MTGetAllShipping ( )
virtual

deletes this instance

References MTGetAllShipping_Private::detach().

Member Function Documentation

MTGetAllShipping MTGetAllShipping::asyncQuery ( QString  iface = "MagicSmoke")
static

emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state

Parameters
ifaceID of the interface that the transaction will be sent on
void MTGetAllShipping::endQuery ( )
protectedvirtual
QList< MOShipping > MTGetAllShipping::getshipping ( ) const
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().

MTGetAllShipping MTGetAllShipping::query ( QString  iface = "MagicSmoke")
static

emits the query over the network and returns the finished transaction object

Parameters
ifaceID of the interface that the transaction will be sent on

Referenced by MInterface::queryGetAllShipping(), and MCartTab::updateShipping().

Friends And Related Function Documentation

friend class MTGetAllShipping_Private
friend

Referenced by MTGetAllShipping().


The documentation for this class was generated from the following files: