MagicSmoke  $VERSION$
MTGetAllRightNames Class Reference

Returns a list of all rights (i.e. transactions and privileges) that currently exist at the server. More...

#include <srcMTGetAllRightNames.h>

Inheritance diagram for MTGetAllRightNames:
MTransaction

Public Member Functions

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

Static Public Member Functions

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

 MTGetAllRightNames (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 MTGetAllRightNames_Private
 

Detailed Description

Returns a list of all rights (i.e. transactions and privileges) that currently exist at the server.

Constructor & Destructor Documentation

MTGetAllRightNames::MTGetAllRightNames ( QString  iface)
explicitprotected

generates an instance from its properties

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

References MTGetAllRightNames_Private.

MTGetAllRightNames::MTGetAllRightNames ( )

default constructor: generates an invalid transaction

References MTGetAllRightNames_Private.

MTGetAllRightNames::MTGetAllRightNames ( const MTGetAllRightNames t)

copy constructor: the two copies share their state

References MTGetAllRightNames_Private::attach().

MTGetAllRightNames::~MTGetAllRightNames ( )
virtual

deletes this instance

References MTGetAllRightNames_Private::detach().

Member Function Documentation

MTGetAllRightNames MTGetAllRightNames::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 MTGetAllRightNames::endQuery ( )
protectedvirtual
QList< QString > MTGetAllRightNames::getrights ( ) const
MTGetAllRightNames & MTGetAllRightNames::operator= ( const MTGetAllRightNames t)

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

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

MTGetAllRightNames MTGetAllRightNames::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::queryGetAllRightNames().

Friends And Related Function Documentation

friend class MTGetAllRightNames_Private
friend

Referenced by MTGetAllRightNames().


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