aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickscreen.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2012-07-11 16:29:42 +1000
committerQt by Nokia <qt-info@nokia.com>2012-07-16 04:50:48 +0200
commit50ec85e368a15236812776c274cdb10ac2be0ccd (patch)
tree5666c7bba41a2895340f91b4c1a5efcb1a11078e /src/quick/items/qquickscreen.cpp
parent7ddd5308946f32f4f0514c493a0a0f01c2bdc840 (diff)
Change Quick docs to refer to "types" rather than "elements"
Task-number: QTBUG-24785 Change-Id: I223479b879514abaacb123852323c1cfada7a5e1 Reviewed-by: Bea Lam <bea.lam@nokia.com>
Diffstat (limited to 'src/quick/items/qquickscreen.cpp')
-rw-r--r--src/quick/items/qquickscreen.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/quick/items/qquickscreen.cpp b/src/quick/items/qquickscreen.cpp
index aef40df520..a55cb1f105 100644
--- a/src/quick/items/qquickscreen.cpp
+++ b/src/quick/items/qquickscreen.cpp
@@ -55,15 +55,15 @@ QT_BEGIN_NAMESPACE
\ingroup qtquick-visual-utility
\brief The Screen attached object provides information about the Screen an Item is displayed on.
- The Screen attached object is only valid inside Item or Item derived elements, after component completion.
- Inside these elements it refers to the screen that the element is currently being displayed on.
+ The Screen attached object is only valid inside Item or Item derived types, after component completion.
+ Inside these items it refers to the screen that the item is currently being displayed on.
- To use this element, you will need to import the module with the following line:
+ To use this type, you will need to import the module with the following line:
\code
import QtQuick.Window 2.0
\endcode
- Note that the Screen element is not valid at Component.onCompleted, because the Item has not been displayed on
+ Note that the Screen type is not valid at Component.onCompleted, because the Item has not been displayed on
a screen by this time.
Restricting this import will allow you to have a QML environment without access to window system features.