Dataquay 0.8
|
ObjectMapperForwarder notifies ObjectMapper when a QObject is modified or destroyed. More...
#include <ObjectMapperForwarder.h>
Public Member Functions | |
ObjectMapperForwarder (ObjectMapper *mapper, QObject *o) | |
ObjectMapperForwarder notifies ObjectMapper when a QObject is modified or destroyed.
It connects all of the object's property notify signals and its destroyed signal to itself, and then calls ObjectMapper methods when they are activated.
ObjectMapperForwarder is used automatically by ObjectMapper; you do not normally need to use it yourself.
The principal motivation for this class is to avoid the ObjectMapper trying to connect many signals for each of many managed objects directly to its slots: if the number of such objects was large, this would be a serious performance bottleneck.
Definition at line 57 of file ObjectMapperForwarder.h.
Dataquay::ObjectMapperForwarder::ObjectMapperForwarder | ( | ObjectMapper * | mapper, |
QObject * | o ) |