MagicSmoke  $VERSION$
MTGetAllPriceCategories Class Reference

returns a list of all existing price categories (not event specific) More...

#include <srcMTGetAllPriceCategories.h>

Inheritance diagram for MTGetAllPriceCategories:
MTransaction

Public Member Functions

 MTGetAllPriceCategories ()
 default constructor: generates an invalid transaction More...
 
 MTGetAllPriceCategories (const MTGetAllPriceCategories &)
 copy constructor: the two copies share their state More...
 
virtual ~MTGetAllPriceCategories ()
 deletes this instance More...
 
Q_SLOT QList< MOPriceCategorygetpricecategories () const
 
MTGetAllPriceCategoriesoperator= (const MTGetAllPriceCategories &)
 copy assignment: the copy shares the state of the original object More...
 

Static Public Member Functions

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

 MTGetAllPriceCategories (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 MTGetAllPriceCategories_Private
 

Detailed Description

returns a list of all existing price categories (not event specific)

Constructor & Destructor Documentation

MTGetAllPriceCategories::MTGetAllPriceCategories ( QString  iface)
explicitprotected

generates an instance from its properties

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

References MTGetAllPriceCategories_Private.

MTGetAllPriceCategories::MTGetAllPriceCategories ( )

default constructor: generates an invalid transaction

References MTGetAllPriceCategories_Private.

MTGetAllPriceCategories::MTGetAllPriceCategories ( const MTGetAllPriceCategories t)

copy constructor: the two copies share their state

References MTGetAllPriceCategories_Private::attach().

MTGetAllPriceCategories::~MTGetAllPriceCategories ( )
virtual

deletes this instance

References MTGetAllPriceCategories_Private::detach().

Member Function Documentation

MTGetAllPriceCategories MTGetAllPriceCategories::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 MTGetAllPriceCategories::endQuery ( )
protectedvirtual
QList< MOPriceCategory > MTGetAllPriceCategories::getpricecategories ( ) const
MTGetAllPriceCategories & MTGetAllPriceCategories::operator= ( const MTGetAllPriceCategories t)

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

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

MTGetAllPriceCategories MTGetAllPriceCategories::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::queryGetAllPriceCategories().

Friends And Related Function Documentation

friend class MTGetAllPriceCategories_Private
friend

Referenced by MTGetAllPriceCategories().


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