From aff53500dbfba0a3338f8ab649c754cce3569ede Mon Sep 17 00:00:00 2001 From: Damian Jansen Date: Tue, 14 Jul 2009 11:41:25 +1000 Subject: QmlBindContext was renamed to QmlContext, reflect in documentation Reviewed-by: Michael Brasser --- doc/src/declarative/binding.qdoc | 2 +- doc/src/declarative/qmlforcpp.qdoc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/src/declarative/binding.qdoc b/doc/src/declarative/binding.qdoc index 2920d51..e74e4b1 100644 --- a/doc/src/declarative/binding.qdoc +++ b/doc/src/declarative/binding.qdoc @@ -90,7 +90,7 @@ QFxView *view = new QFxView; view->setUrl("MyUI.qml"); MyScreen *screen = new MyScreen; -QmlBindContext *ctxt = view->rootContext(); +QmlContext *ctxt = view->rootContext(); ctxt->setContextProperty("screen", screen); view->execute(); diff --git a/doc/src/declarative/qmlforcpp.qdoc b/doc/src/declarative/qmlforcpp.qdoc index 38f5665..c0d1b7d 100644 --- a/doc/src/declarative/qmlforcpp.qdoc +++ b/doc/src/declarative/qmlforcpp.qdoc @@ -233,7 +233,7 @@ structures. Every expression is executed in a bind context, encapsulated by the - QmlBindContext C++ class. As covered in the class documentation, a + QmlContext C++ class. As covered in the class documentation, a bind context contains a map of names to values, and a list of default objects. When resolving a name, the name to value map is searched first. If the name cannot be found, the default object's are iterated in turn and @@ -331,7 +331,7 @@ } \endcode - To relate id's back to QmlBindContext, id's exist as properties on the + To relate id's back to QmlContext, id's exist as properties on the component context. Bind expressions can reference any object property. The QML bind engine -- cgit v0.12