MagicSmoke  $VERSION$
MTDeletePaymentType Class Reference

deletes a payment type More...

#include <srcMTDeletePaymentType.h>

Inheritance diagram for MTDeletePaymentType:
MTransaction

Public Member Functions

 MTDeletePaymentType ()
 default constructor: generates an invalid transaction More...
 
 MTDeletePaymentType (const MTDeletePaymentType &)
 copy constructor: the two copies share their state More...
 
virtual ~MTDeletePaymentType ()
 deletes this instance More...
 
MTDeletePaymentTypeoperator= (const MTDeletePaymentType &)
 copy assignment: the copy shares the state of the original object More...
 

Static Public Member Functions

static MTDeletePaymentType asyncQuery (const QString &apaytype, 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 MTDeletePaymentType query (const QString &apaytype, 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

 MTDeletePaymentType (const QString &apaytype, 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 MTDeletePaymentType_Private
 

Detailed Description

deletes a payment type

Constructor & Destructor Documentation

MTDeletePaymentType::MTDeletePaymentType ( const QString &  apaytype,
QString  iface 
)
explicitprotected

generates an instance from its properties

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

References MTDeletePaymentType_Private::in_paytype, and MTDeletePaymentType_Private.

MTDeletePaymentType::MTDeletePaymentType ( )

default constructor: generates an invalid transaction

References MTDeletePaymentType_Private.

MTDeletePaymentType::MTDeletePaymentType ( const MTDeletePaymentType t)

copy constructor: the two copies share their state

References MTDeletePaymentType_Private::attach().

MTDeletePaymentType::~MTDeletePaymentType ( )
virtual

deletes this instance

References MTDeletePaymentType_Private::detach().

Member Function Documentation

MTDeletePaymentType MTDeletePaymentType::asyncQuery ( const QString &  apaytype,
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
apaytype
ifaceID of the interface that the transaction will be sent on
void MTDeletePaymentType::endQuery ( )
protectedvirtual
MTDeletePaymentType & MTDeletePaymentType::operator= ( const MTDeletePaymentType t)

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

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

MTDeletePaymentType MTDeletePaymentType::query ( const QString &  apaytype,
QString  iface = "MagicSmoke" 
)
static

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

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

Referenced by MInterface::queryDeletePaymentType().

Friends And Related Function Documentation

friend class MTDeletePaymentType_Private
friend

Referenced by MTDeletePaymentType().


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