diff --git a/src/imports/window/plugin.cpp b/src/imports/window/plugin.cpp index 31c78990275d25925cef98d9017a7db91d401c02..9c65cf43577700ab7228a0f51dcdd5c12d04dffb 100644 --- a/src/imports/window/plugin.cpp +++ b/src/imports/window/plugin.cpp @@ -46,7 +46,7 @@ QT_BEGIN_NAMESPACE /*! - \qmlmodule QtQuick.Window 2.1 + \qmlmodule QtQuick.Window 2.2 \title Qt Quick Window QML Types \ingroup qmlmodules \brief Provides QML types for window management @@ -56,7 +56,7 @@ QT_BEGIN_NAMESPACE To use the types in this module, import the module with the following line: \code - import QtQuick.Window 2.0 + import QtQuick.Window 2.2 \endcode */ diff --git a/src/imports/window/plugins.qmltypes b/src/imports/window/plugins.qmltypes index f69359b1252507a0763ee5c25a53af79e0a971bf..27c0299c32ee8f22b035fb5d505c12bb635ad9de 100644 --- a/src/imports/window/plugins.qmltypes +++ b/src/imports/window/plugins.qmltypes @@ -4,7 +4,7 @@ import QtQuick.tooling 1.1 // It is used for QML tooling purposes only. // // This file was auto-generated by: -// 'qmlplugindump -nonrelocatable QtQuick.Window 2.0' +// 'qmlplugindump -nonrelocatable QtQuick.Window 2.2' Module { Component { @@ -31,19 +31,16 @@ Module { Component { name: "QQuickScreenAttached" prototype: "QObject" - Property { name: "name"; revision: 1; type: "string"; isReadonly: true } + Property { name: "name"; type: "string"; isReadonly: true } Property { name: "width"; type: "int"; isReadonly: true } Property { name: "height"; type: "int"; isReadonly: true } - Property { name: "desktopAvailableWidth"; revision: 1; type: "int"; isReadonly: true } - Property { name: "desktopAvailableHeight"; revision: 1; type: "int"; isReadonly: true } - Property { name: "logicalPixelDensity"; revision: 1; type: "double"; isReadonly: true } - Property { name: "pixelDensity"; revision: 2; type: "double"; isReadonly: true } + Property { name: "desktopAvailableWidth"; type: "int"; isReadonly: true } + Property { name: "desktopAvailableHeight"; type: "int"; isReadonly: true } + Property { name: "logicalPixelDensity"; type: "double"; isReadonly: true } + Property { name: "pixelDensity"; type: "double"; isReadonly: true } Property { name: "primaryOrientation"; type: "Qt::ScreenOrientation"; isReadonly: true } Property { name: "orientation"; type: "Qt::ScreenOrientation"; isReadonly: true } - Signal { name: "nameChanged"; revision: 1 } - Signal { name: "desktopGeometryChanged"; revision: 1 } - Signal { name: "logicalPixelDensityChanged"; revision: 1 } - Signal { name: "pixelDensityChanged"; revision: 2 } + Signal { name: "desktopGeometryChanged" } Method { name: "angleBetween" type: "int" diff --git a/src/imports/window/window.pro b/src/imports/window/window.pro index c44fae311dc26117cab8afb759e968080d73a9aa..a938e0eeefc8094c6ef0d148c2a3311dc616a360 100644 --- a/src/imports/window/window.pro +++ b/src/imports/window/window.pro @@ -1,7 +1,7 @@ CXX_MODULE = qml TARGET = windowplugin TARGETPATH = QtQuick/Window.2 -IMPORT_VERSION = 2.0 +IMPORT_VERSION = 2.2 SOURCES += \ plugin.cpp diff --git a/src/quick/items/qquickscreen.cpp b/src/quick/items/qquickscreen.cpp index 82f4f0af3e2bdaed90478648b5629c5944db890c..c9dbe8896065c1d7bd638c6a61582a09e4f38be1 100644 --- a/src/quick/items/qquickscreen.cpp +++ b/src/quick/items/qquickscreen.cpp @@ -70,7 +70,7 @@ QT_BEGIN_NAMESPACE To use this type, you will need to import the module with the following line: \code - import QtQuick.Window 2.1 + import QtQuick.Window 2.2 \endcode It is a separate import in order to allow you to have a QML environment without access to window system features. diff --git a/src/quick/items/qquickwindow.cpp b/src/quick/items/qquickwindow.cpp index 3c2718dcafd4cff0214ddcb184f4d9aef493a1ad..17b8440e340574fd0d17c47a42b705469e8811b6 100644 --- a/src/quick/items/qquickwindow.cpp +++ b/src/quick/items/qquickwindow.cpp @@ -943,7 +943,7 @@ void QQuickWindowPrivate::cleanup(QSGNode *n) To use this type, you will need to import the module with the following line: \code - import QtQuick.Window 2.1 + import QtQuick.Window 2.2 \endcode Omitting this import will allow you to have a QML environment without