aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickdrawer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quicktemplates2/qquickdrawer.cpp')
-rw-r--r--src/quicktemplates2/qquickdrawer.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/quicktemplates2/qquickdrawer.cpp b/src/quicktemplates2/qquickdrawer.cpp
index f2d74b31..95b27512 100644
--- a/src/quicktemplates2/qquickdrawer.cpp
+++ b/src/quicktemplates2/qquickdrawer.cpp
@@ -68,9 +68,9 @@ QT_BEGIN_NAMESPACE
drawer is then opened by \e "dragging" it out from the left edge of the
window.
- \code
- import QtQuick 2.7
- import QtQuick.Controls 2.0
+ \code \QtMinorVersion
+ import QtQuick 2.\1
+ import QtQuick.Controls 2.\1
ApplicationWindow {
id: window
@@ -98,9 +98,9 @@ QT_BEGIN_NAMESPACE
Drawer can be configured to cover only part of its window edge. The following example
illustrates how Drawer can be positioned to appear below a window header:
- \code
- import QtQuick 2.7
- import QtQuick.Controls 2.0
+ \code \QtMinorVersion
+ import QtQuick 2.\1
+ import QtQuick.Controls 2.\1
ApplicationWindow {
id: window
@@ -124,9 +124,9 @@ QT_BEGIN_NAMESPACE
In the image above, the application's contents are \e "pushed" across the
screen. This is achieved by applying a translation to the contents:
- \code
- import QtQuick 2.7
- import QtQuick.Controls 2.1
+ \code \QtMinorVersion
+ import QtQuick 2.\1
+ import QtQuick.Controls 2.\1
ApplicationWindow {
id: window