Listen a signal and sav the last parameters. More...
#include <signalcheckpoint.hpp>
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 |
Listen a signal and sav the last parameters.
Listen a signal and sav the last parameters
Definition at line 46 of file signalcheckpoint.hpp.
QExtend::SignalCheckPoint::SignalCheckPoint | ( | const Emitter & | emitter = Emitter() , |
|
const QStringList & | names = QStringList() , |
|||
QObject * | parent = 0 | |||
) |
Create a new SignalCheckPoint.
Create a new SignalCheckPoint.
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. |
void QExtend::SignalCheckPoint::addEmitter | ( | const Emitter & | , | |
const QStringList & | ||||
) |
Add the listened emitter.
Add the listened emitter.
emitter | listened emitter. | |
names | names use to stocke parameters in a QVariantMap. If a parameters name is empty, this parameters is not stocked. |
void QExtend::SignalCheckPoint::addEmitterProperty | ( | const Emitter & | emitter, | |
const char * | property, | |||
const QString & | name | |||
) |
Add the listened QObject property when the QObject emit the signal.
emitter | Listened emitter. | |
property | Property name. | |
name | Name use to stocke parameters in a QVariantMap. |
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
© 2000-2024 - www.developpez.com