MagicSmoke  $VERSION$
MTGetPaymentTypes Class Reference

returns the valid payment types More...

#include <srcMTGetPaymentTypes.h>

Inheritance diagram for MTGetPaymentTypes:
MTransaction

Public Member Functions

 MTGetPaymentTypes ()
 default constructor: generates an invalid transaction More...
 
 MTGetPaymentTypes (const MTGetPaymentTypes &)
 copy constructor: the two copies share their state More...
 
virtual ~MTGetPaymentTypes ()
 deletes this instance More...
 
Q_SLOT Nullable< QString > getdefaultpaytype () const
 
Q_SLOT QList< MOPaymentTypegetpaytypes () const
 
MTGetPaymentTypesoperator= (const MTGetPaymentTypes &)
 copy assignment: the copy shares the state of the original object More...
 

Static Public Member Functions

static MTGetPaymentTypes 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 MTGetPaymentTypes 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

 MTGetPaymentTypes (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 MTGetPaymentTypes_Private
 

Detailed Description

returns the valid payment types

Constructor & Destructor Documentation

MTGetPaymentTypes::MTGetPaymentTypes ( QString  iface)
explicitprotected

generates an instance from its properties

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

References MTGetPaymentTypes_Private.

MTGetPaymentTypes::MTGetPaymentTypes ( )

default constructor: generates an invalid transaction

References MTGetPaymentTypes_Private.

MTGetPaymentTypes::MTGetPaymentTypes ( const MTGetPaymentTypes t)

copy constructor: the two copies share their state

References MTGetPaymentTypes_Private::attach().

MTGetPaymentTypes::~MTGetPaymentTypes ( )
virtual

deletes this instance

References MTGetPaymentTypes_Private::detach().

Member Function Documentation

MTGetPaymentTypes MTGetPaymentTypes::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 MTGetPaymentTypes::endQuery ( )
protectedvirtual
Nullable< QString > MTGetPaymentTypes::getdefaultpaytype ( ) const
QList< MOPaymentType > MTGetPaymentTypes::getpaytypes ( ) const
MTGetPaymentTypes & MTGetPaymentTypes::operator= ( const MTGetPaymentTypes t)

copy assignment: the copy shares the state of the original object

References MTGetPaymentTypes_Private::attach(), and MTGetPaymentTypes_Private::detach().

MTGetPaymentTypes MTGetPaymentTypes::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::queryGetPaymentTypes().

Friends And Related Function Documentation

friend class MTGetPaymentTypes_Private
friend

Referenced by MTGetPaymentTypes().


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