aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickscreen.cpp
diff options
context:
space:
mode:
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.