summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativeengine.h
diff options
context:
space:
mode:
authorJoona Petrell <joona.t.petrell@nokia.com>2010-07-22 03:23:39 (GMT)
committerJoona Petrell <joona.t.petrell@nokia.com>2010-07-22 05:04:04 (GMT)
commit0b83a2161261be525f01359397ab1c8c34827749 (patch)
tree96854cca2a179d36983b64d004a0673c6ca756c3 /src/declarative/qml/qdeclarativeengine.h
parent266a64d34d775b2ebcf1bffbf751cfe9437ceafe (diff)
downloadQt-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/qml/qdeclarativeengine.h')
-rw-r--r--src/declarative/qml/qdeclarativeengine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativeengine.h b/src/declarative/qml/qdeclarativeengine.h
index 01487f5..d971d80 100644
--- a/src/declarative/qml/qdeclarativeengine.h
+++ b/src/declarative/qml/qdeclarativeengine.h
@@ -74,7 +74,7 @@ public:
QDeclarativeEngine(QObject *p = 0);
virtual ~QDeclarativeEngine();
- QDeclarativeContext *rootContext();
+ QDeclarativeContext *rootContext() const;
void clearComponentCache();