MagicSmoke  $VERSION$
MTSetUserDescription Class Reference

Changes the description of a user. More...

#include <srcMTSetUserDescription.h>

Inheritance diagram for MTSetUserDescription:
MTransaction

Public Member Functions

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

Static Public Member Functions

static MTSetUserDescription asyncQuery (const QString &ausername, const QString &adescription, 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 MTSetUserDescription query (const QString &ausername, const QString &adescription, 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

 MTSetUserDescription (const QString &ausername, const QString &adescription, 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 MTSetUserDescription_Private
 

Detailed Description

Changes the description of a user.

Constructor & Destructor Documentation

MTSetUserDescription::MTSetUserDescription ( const QString &  ausername,
const QString &  adescription,
QString  iface 
)
explicitprotected

generates an instance from its properties

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

References MTSetUserDescription_Private::in_description, MTSetUserDescription_Private::in_username, and MTSetUserDescription_Private.

MTSetUserDescription::MTSetUserDescription ( )

default constructor: generates an invalid transaction

References MTSetUserDescription_Private.

MTSetUserDescription::MTSetUserDescription ( const MTSetUserDescription t)

copy constructor: the two copies share their state

References MTSetUserDescription_Private::attach().

MTSetUserDescription::~MTSetUserDescription ( )
virtual

deletes this instance

References MTSetUserDescription_Private::detach().

Member Function Documentation

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

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

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

MTSetUserDescription MTSetUserDescription::query ( const QString &  ausername,
const QString &  adescription,
QString  iface = "MagicSmoke" 
)
static

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

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

Referenced by MInterface::querySetUserDescription().

Friends And Related Function Documentation

friend class MTSetUserDescription_Private
friend

Referenced by MTSetUserDescription().


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