diff options
author | Joona Petrell <joona.t.petrell@nokia.com> | 2010-07-22 03:23:39 (GMT) |
---|---|---|
committer | Joona Petrell <joona.t.petrell@nokia.com> | 2010-07-22 05:04:04 (GMT) |
commit | 0b83a2161261be525f01359397ab1c8c34827749 (patch) | |
tree | 96854cca2a179d36983b64d004a0673c6ca756c3 /src/declarative/util/qdeclarativeview.h | |
parent | 266a64d34d775b2ebcf1bffbf751cfe9437ceafe (diff) | |
download | Qt-0b83a2161261be525f01359397ab1c8c34827749.zip Qt-0b83a2161261be525f01359397ab1c8c34827749.tar.gz Qt-0b83a2161261be525f01359397ab1c8c34827749.tar.bz2 |
Make rootContext and engine pointers in QDeclarativeView API const
Task-number: QTBUG-12322
Reviewed-by: Aaron Kennedy
Diffstat (limited to 'src/declarative/util/qdeclarativeview.h')
-rw-r--r-- | src/declarative/util/qdeclarativeview.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/util/qdeclarativeview.h b/src/declarative/util/qdeclarativeview.h index cdcf134..d3e4948 100644 --- a/src/declarative/util/qdeclarativeview.h +++ b/src/declarative/util/qdeclarativeview.h @@ -75,8 +75,8 @@ public: QUrl source() const; void setSource(const QUrl&); - QDeclarativeEngine* engine(); - QDeclarativeContext* rootContext(); + QDeclarativeEngine* engine() const; + QDeclarativeContext* rootContext() const; QGraphicsObject *rootObject() const; |