IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QExtend::SignalCheckPoint Class Reference

Listen a signal and sav the last parameters. More...

#include <signalcheckpoint.hpp>

List of all members.

Public Slots

void emitParameters ()
 Emit the last parameters.
void setParameters (const QVariantMap &)
 set current parameters
void clear ()
 CLear parameters;.

Signals

void parameters (const QVariantMap &)
 Signal which emit the last parameters.

Public Member Functions

 SignalCheckPoint (const Emitter &emitter=Emitter(), const QStringList &names=QStringList(), QObject *parent=0)
 Create a new SignalCheckPoint.
void addEmitter (const Emitter &, const QStringList &)
 Add the listened emitter.
void addEmitterProperty (const Emitter &emitter, const char *property, const QString &name)
 Add the listened QObject property when the QObject emit the signal.
const QVariantMap & getParameters ()
 get the last parameters

Detailed Description

Listen a signal and sav the last parameters.

Listen a signal and sav the last parameters

Definition at line 46 of file signalcheckpoint.hpp.


Constructor & Destructor Documentation

QExtend::SignalCheckPoint::SignalCheckPoint ( const Emitter emitter = Emitter(),
const QStringList &  names = QStringList(),
QObject *  parent = 0 
)

Create a new SignalCheckPoint.

Create a new SignalCheckPoint.

Parameters:
emitter listened emitter.
names names use to stocke parameters in a QVariantMap. if empty, the default name it's is position. If a parameters name is empty, this parameters is not stocked.
Returns:
new instance.

Member Function Documentation

void QExtend::SignalCheckPoint::addEmitter ( const Emitter ,
const QStringList &   
)

Add the listened emitter.

Add the listened emitter.

Parameters:
emitter listened emitter.
names names use to stocke parameters in a QVariantMap. If a parameters name is empty, this parameters is not stocked.
Returns:
new instance.
void QExtend::SignalCheckPoint::addEmitterProperty ( const Emitter emitter,
const char *  property,
const QString &  name 
)

Add the listened QObject property when the QObject emit the signal.

Parameters:
emitter Listened emitter.
property Property name.
name Name use to stocke parameters in a QVariantMap.
Returns:
new instance.
void QExtend::SignalCheckPoint::clear (  )  [slot]

CLear parameters;.

void QExtend::SignalCheckPoint::emitParameters (  )  [slot]

Emit the last parameters.

const QVariantMap& QExtend::SignalCheckPoint::getParameters (  ) 

get the last parameters

void QExtend::SignalCheckPoint::parameters ( const QVariantMap &   )  [signal]

Signal which emit the last parameters.

void QExtend::SignalCheckPoint::setParameters ( const QVariantMap &   )  [slot]

set current parameters

Responsable bénévole de la rubrique Qt : Thibaut Cuvelier -