diff options
author | Sergio Ahumada <sahumada@blackberry.com> | 2014-04-03 11:10:49 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-03 19:57:54 +0200 |
commit | 2573021475b799f58575baf24088ca337bb982b9 (patch) | |
tree | 681db60e48ce32042cc03f6fd5d7442840a4d17a /src/quick/items/qquickscreen.cpp | |
parent | ef2e5a39fa188c0fb229e7847b5ac3f177ba778e (diff) |
Doc: Fix some code snippet warnings
Seems like \qml \endqml is not able to parse some snippets, so using
\code \endcode instead to fix warnings like:
Unable to parse QML snippet: "Expected token `{'" at line 1, column 13
Change-Id: Iecf033ff5610405d946390e69c3aa7ec54a21998
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Sze Howe Koh <szehowe.koh@gmail.com>
Diffstat (limited to 'src/quick/items/qquickscreen.cpp')
-rw-r--r-- | src/quick/items/qquickscreen.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/quick/items/qquickscreen.cpp b/src/quick/items/qquickscreen.cpp index 54c7527eec..82f4f0af3e 100644 --- a/src/quick/items/qquickscreen.cpp +++ b/src/quick/items/qquickscreen.cpp @@ -108,9 +108,9 @@ QT_BEGIN_NAMESPACE such as task bars and system menus. If you want to position a Window at the right of the desktop, you can bind to it like this: - \qml + \code x: Screen.desktopAvailableWidth - width - \endqml + \endcode */ /*! \qmlattachedproperty int Screen::desktopAvailableHeight @@ -122,9 +122,9 @@ QT_BEGIN_NAMESPACE such as task bars and system menus. If you want to position a Window at the bottom of the desktop, you can bind to it like this: - \qml + \code y: Screen.desktopAvailableHeight - height - \endqml + \endcode */ /*! \qmlattachedproperty real Screen::logicalPixelDensity |