From cf507172d6aa281036cde02ded9493535685fd80 Mon Sep 17 00:00:00 2001 From: Chris Adams Date: Fri, 6 Jul 2012 16:36:11 +1000 Subject: Include QQmlExpression in QtQml module CppClasses docs This commit just adds the structure and the topic page entry. The actual content for the in-depth page has yet to be written. Change-Id: Iee083fe091c612d235bffb64ca38a8e06cc3b9e4 Reviewed-by: Michael Brasser --- src/qml/doc/src/cppclasses/topic.qdoc | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/qml/doc/src/cppclasses/topic.qdoc') diff --git a/src/qml/doc/src/cppclasses/topic.qdoc b/src/qml/doc/src/cppclasses/topic.qdoc index 24d0674f2b..64f02c985b 100644 --- a/src/qml/doc/src/cppclasses/topic.qdoc +++ b/src/qml/doc/src/cppclasses/topic.qdoc @@ -65,4 +65,16 @@ are resolved, and thus which values the expression operates on. See \l{qtqml-cppclasses-context.html}{Qt QML Module C++ Classes - QQmlContext} for in-depth information about QQmlContext. +\section1 The QQmlExpression Class + +The QQmlExpression class provides a way for clients to evaluate JavaScript +expressions from C++, using a particular QML evaluation context. This allows +clients to access QML objects by id, for example. The result of evaluation +is returned as a QVariant, and the conversion rules are defined by the QML +engine. + +See \l{qtqml-cppclasses-expression.html} +{Qt QML Module C++ Classes - QQmlExpression} for in depth information about +QQmlExpression. + */ -- cgit v1.2.3