MagicSmoke  $VERSION$
MTCreateArtist Class Reference

creates a new artist More...

#include <srcMTCreateArtist.h>

Inheritance diagram for MTCreateArtist:
MTransaction

Public Member Functions

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

Static Public Member Functions

static MTCreateArtist asyncQuery (const QString &aname, const QString &adescription, const QString &acomment, 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 MTCreateArtist query (const QString &aname, const QString &adescription, const QString &acomment, 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

 MTCreateArtist (const QString &aname, const QString &adescription, const QString &acomment, 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 MTCreateArtist_Private
 

Detailed Description

creates a new artist

Constructor & Destructor Documentation

MTCreateArtist::MTCreateArtist ( const QString &  aname,
const QString &  adescription,
const QString &  acomment,
QString  iface 
)
explicitprotected

generates an instance from its properties

Parameters
aname
adescription
acomment
ifaceID of the interface that the transaction will be sent on

References MTCreateArtist_Private::in_comment, MTCreateArtist_Private::in_description, MTCreateArtist_Private::in_name, and MTCreateArtist_Private.

MTCreateArtist::MTCreateArtist ( )

default constructor: generates an invalid transaction

References MTCreateArtist_Private.

MTCreateArtist::MTCreateArtist ( const MTCreateArtist t)

copy constructor: the two copies share their state

References MTCreateArtist_Private::attach().

MTCreateArtist::~MTCreateArtist ( )
virtual

deletes this instance

References MTCreateArtist_Private::detach().

Member Function Documentation

MTCreateArtist MTCreateArtist::asyncQuery ( const QString &  aname,
const QString &  adescription,
const QString &  acomment,
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
aname
adescription
acomment
ifaceID of the interface that the transaction will be sent on
void MTCreateArtist::endQuery ( )
protectedvirtual
Nullable< MOArtist > MTCreateArtist::getartist ( ) const
MTCreateArtist & MTCreateArtist::operator= ( const MTCreateArtist t)

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

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

MTCreateArtist MTCreateArtist::query ( const QString &  aname,
const QString &  adescription,
const QString &  acomment,
QString  iface = "MagicSmoke" 
)
static

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

Parameters
aname
adescription
acomment
ifaceID of the interface that the transaction will be sent on

Referenced by MInterface::queryCreateArtist().

Friends And Related Function Documentation

friend class MTCreateArtist_Private
friend

Referenced by MTCreateArtist().


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