diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2012-04-18 14:21:46 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-23 11:14:36 +0200 |
commit | 6fe0263b25475199808fc5633fbcacc06162af2a (patch) | |
tree | 98703d875500b195de29023d3697773f38e269da /src/quick/items/qquickscreen.cpp | |
parent | 42e93ffffa23b466f6641f86de18e6a7dd71166c (diff) |
Doc Fix
More emphasis on what imports are needed for specialty elements.
Change-Id: Ia24ac97bb77ed57c313a5120b0fbd02b6fcaa4a8
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'src/quick/items/qquickscreen.cpp')
-rw-r--r-- | src/quick/items/qquickscreen.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/quick/items/qquickscreen.cpp b/src/quick/items/qquickscreen.cpp index a00df4600d..280a06cf57 100644 --- a/src/quick/items/qquickscreen.cpp +++ b/src/quick/items/qquickscreen.cpp @@ -56,6 +56,13 @@ QT_BEGIN_NAMESPACE The Screen attached object is only valid inside Item or Item derived elements. Inside these elements it refers to the screen that the element is currently being displayed on. + + To use this element, you will need to import the module with the following line: + \code + import QtQuick.Window 2.0 + \endcode + + Restricting this import will allow you to have a QML environment without access to window system features. */ /*! |