aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml
diff options
context:
space:
mode:
authorNico Vertriest <nico.vertriest@digia.com>2015-10-28 14:40:50 +0100
committerNico Vertriest <nico.vertriest@digia.com>2015-10-30 09:55:09 +0000
commit388e85f18b7f79c733c9b684de6907378f7a108a (patch)
tree487c0bc9b6c986bbb8917f98bdc2579d9a796708 /src/qml/qml
parent6860a6e5c06476aec4ea66d9716cb3543fb1e1dc (diff)
Doc: added required include statement QtQml
Task-number: QTBUG-48172 Change-Id: I571a2a28856c95e4293c526aefc8e7ca8c88a0aa Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Diffstat (limited to 'src/qml/qml')
-rw-r--r--src/qml/qml/qqmlengine.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlengine.cpp b/src/qml/qml/qqmlengine.cpp
index be535025e6..adb0b81d45 100644
--- a/src/qml/qml/qqmlengine.cpp
+++ b/src/qml/qml/qqmlengine.cpp
@@ -2436,6 +2436,8 @@ bool QQml_isFileCaseCorrect(const QString &fileName, int lengthIn /* = -1 */)
Returns the QQmlEngine associated with \a object, if any. This is equivalent to
QQmlEngine::contextForObject(object)->engine(), but more efficient.
+ \note Add \c{#include <QtQml>} to use this function.
+
\sa {QQmlEngine::contextForObject()}{contextForObject()}, qmlContext()
*/
@@ -2446,6 +2448,8 @@ bool QQml_isFileCaseCorrect(const QString &fileName, int lengthIn /* = -1 */)
Returns the QQmlContext associated with \a object, if any. This is equivalent to
QQmlEngine::contextForObject(object).
+ \note Add \c{#include <QtQml>} to use this function.
+
\sa {QQmlEngine::contextForObject()}{contextForObject()}, qmlEngine()
*/