diff options
author | Paul Lemire <paul.lemire.ecortex.kdab.com> | 2014-10-29 09:32:18 +0100 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2014-11-02 12:43:28 +0100 |
commit | 8bd7ea0ec2f67679d046d35af5785d99b31620a3 (patch) | |
tree | ce8b1290edc55a27f867cc6a044d69596e113b1f /src/core/qscene.h | |
parent | 22aae0f06bf90ece7435e9dfa4059f1615046eff (diff) |
QNodeUuid: typedef for QUuid
Should allow to easily replace QUuid by a custom quint64 based struct
Change-Id: Ib4ba57efd2e070317aa3417b37ce091f2b4779a0
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/core/qscene.h')
-rw-r--r-- | src/core/qscene.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/core/qscene.h b/src/core/qscene.h index e3b1296c7..a35d639ac 100644 --- a/src/core/qscene.h +++ b/src/core/qscene.h @@ -57,21 +57,21 @@ class QT3DCORESHARED_EXPORT QScene : public QSceneInterface public: QScene(); - void addObservable(QObservableInterface *observable, const QUuid &uuid) Q_DECL_OVERRIDE; + void addObservable(QObservableInterface *observable, const QNodeUuid &uuid) Q_DECL_OVERRIDE; void addObservable(QNode *observable) Q_DECL_OVERRIDE; - void removeObservable(QObservableInterface *observable, const QUuid &uuid) Q_DECL_OVERRIDE; + void removeObservable(QObservableInterface *observable, const QNodeUuid &uuid) Q_DECL_OVERRIDE; void removeObservable(QNode *observable) Q_DECL_OVERRIDE; - QObservableList lookupObservables(const QUuid &uuid) const Q_DECL_OVERRIDE; + QObservableList lookupObservables(const QNodeUuid &uuid) const Q_DECL_OVERRIDE; - QNode *lookupNode(const QUuid &uuid) const Q_DECL_OVERRIDE; - QUuid nodeIdFromObservable(QObservableInterface *observable) const Q_DECL_OVERRIDE; + QNode *lookupNode(const QNodeUuid &uuid) const Q_DECL_OVERRIDE; + QNodeUuid nodeIdFromObservable(QObservableInterface *observable) const Q_DECL_OVERRIDE; void setArbiter(QChangeArbiter *arbiter) Q_DECL_OVERRIDE; // Component -> Entities - QList<QUuid> entitiesForComponent(const QUuid &uuid) const Q_DECL_OVERRIDE; - void addEntityForComponent(const QUuid &componentUuid, const QUuid &entityUuid) Q_DECL_OVERRIDE; - void removeEntityForComponent(const QUuid &componentUuid, const QUuid &entityUuid) Q_DECL_OVERRIDE; + QList<QNodeUuid> entitiesForComponent(const QNodeUuid &uuid) const Q_DECL_OVERRIDE; + void addEntityForComponent(const QNodeUuid &componentUuid, const QNodeUuid &entityUuid) Q_DECL_OVERRIDE; + void removeEntityForComponent(const QNodeUuid &componentUuid, const QNodeUuid &entityUuid) Q_DECL_OVERRIDE; private: Q_DECLARE_PRIVATE(QScene) |