diff options
author | Damian Jansen <damian.jansen@nokia.com> | 2009-07-14 01:41:25 (GMT) |
---|---|---|
committer | Damian Jansen <damian.jansen@nokia.com> | 2009-07-14 01:57:50 (GMT) |
commit | aff53500dbfba0a3338f8ab649c754cce3569ede (patch) | |
tree | c3c1ca703780f7568453fe9c3dba356bf3e6da1d /doc | |
parent | 66c9d55e58fd9ee9a80270e63a8ebba52db00904 (diff) | |
download | Qt-aff53500dbfba0a3338f8ab649c754cce3569ede.zip Qt-aff53500dbfba0a3338f8ab649c754cce3569ede.tar.gz Qt-aff53500dbfba0a3338f8ab649c754cce3569ede.tar.bz2 |
QmlBindContext was renamed to QmlContext, reflect in documentation
Reviewed-by: Michael Brasser
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/declarative/binding.qdoc | 2 | ||||
-rw-r--r-- | 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 |