diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2017-01-24 10:43:32 +0100 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2017-01-25 14:56:43 +0000 |
commit | 393ab950be4a622dc2616c061eeb4f2194991093 (patch) | |
tree | a8e83bb510c9cc58c1461eb2345f122925e09c34 /src/core/qchangearbiter_p.h | |
parent | 4f6bf6d53c50221977d3f6e2c04ced70d815e6ac (diff) |
Allow to filter change events based on a track property
* QNode now has a PropertyTrackMode property
* QScene contains a table of PropertyTrakcMode data
* QPostman checks if a QNode is supposed to receive a change based on the
information available in the QScene property track mode table
* Unit tests updated and added for QPostman
Change-Id: I3b88037a949020a917c81817f1451ef532065982
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/core/qchangearbiter_p.h')
-rw-r--r-- | src/core/qchangearbiter_p.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/core/qchangearbiter_p.h b/src/core/qchangearbiter_p.h index e3fdcad9b..e381abc65 100644 --- a/src/core/qchangearbiter_p.h +++ b/src/core/qchangearbiter_p.h @@ -136,14 +136,8 @@ private: QMutex m_mutex; QAbstractAspectJobManager *m_jobManager; - // The lists of observers indexed by observable. We maintain two - // distinct hashes: - // - // m_aspectObservations is for observables owned by aspects + // The lists of observers indexed by observable (QNodeId). // m_nodeObservations is for observables in the main thread's object tree - // - // We keep these distinct because we do not manage the main thread which means - // the mechanisms for working with objects there is different. QHash<QNodeId, QObserverList> m_nodeObservations; QList<QSceneObserverInterface *> m_sceneObservers; |