diff --git a/src/imports/window/plugin.cpp b/src/imports/window/plugin.cpp index b0c8c90890992c7f2021de6d7db33be371def18e..fedaef2e1a6c2248aae1be014e1e3416830cac4e 100644 --- a/src/imports/window/plugin.cpp +++ b/src/imports/window/plugin.cpp @@ -45,6 +45,22 @@ QT_BEGIN_NAMESPACE +/*! + \qmlmodule QtQuick.Window 2 + \title QML Module QtQuick.Window 2.0 + \brief Contains types for window management + + This QML module contains types for creating top-level windows and accessing screen information. + + To use the types in this module, import the module with the following line: + + \code + import QtQuick.Window 2.0 + \endcode +*/ + + + //![class decl] class QtQuick2WindowPlugin : public QQmlExtensionPlugin { diff --git a/src/quick/items/qquickwindow.cpp b/src/quick/items/qquickwindow.cpp index 0924c24b7d8a012bdf28a98635470b35977ad2e3..0a803c5aa63532f84cab4d22052e5f13b4de80af 100644 --- a/src/quick/items/qquickwindow.cpp +++ b/src/quick/items/qquickwindow.cpp @@ -774,21 +774,6 @@ void QQuickWindowPrivate::cleanup(QSGNode *n) q->maybeUpdate(); } - -/*! - \qmlmodule QtQuick.Window 2 - \title QML Module QtQuick.Window 2.0 - \brief Contains types for window management - - This QML module contains types for creating top-level windows and accessing screen information. - - To use the types in this module, import the module with the following line: - - \code - import QtQuick.Window 2.0 - \endcode -*/ - /*! \qmltype Window \instantiates QQuickWindow