diff options
Diffstat (limited to 'doc/src/snippets/declarative/qtbinding')
13 files changed, 13 insertions, 13 deletions
diff --git a/doc/src/snippets/declarative/qtbinding/context-advanced/MyItem.qml b/doc/src/snippets/declarative/qtbinding/context-advanced/MyItem.qml index 319dff23a9..9108349998 100644 --- a/doc/src/snippets/declarative/qtbinding/context-advanced/MyItem.qml +++ b/doc/src/snippets/declarative/qtbinding/context-advanced/MyItem.qml @@ -39,7 +39,7 @@ ****************************************************************************/ //![0] // MyItem.qml -import QtQuick 1.0 +import QtQuick 2.0 Text { text: applicationData.getCurrentDateTime() } //![0] diff --git a/doc/src/snippets/declarative/qtbinding/context-advanced/connections.qml b/doc/src/snippets/declarative/qtbinding/context-advanced/connections.qml index 1b16da0ad9..66dc2390a1 100644 --- a/doc/src/snippets/declarative/qtbinding/context-advanced/connections.qml +++ b/doc/src/snippets/declarative/qtbinding/context-advanced/connections.qml @@ -37,7 +37,7 @@ ** $QT_END_LICENSE$ ** ****************************************************************************/ -import QtQuick 1.0 +import QtQuick 2.0 //![0] Text { diff --git a/doc/src/snippets/declarative/qtbinding/context/MyItem.qml b/doc/src/snippets/declarative/qtbinding/context/MyItem.qml index 8137f24205..0a4c3e1eb0 100644 --- a/doc/src/snippets/declarative/qtbinding/context/MyItem.qml +++ b/doc/src/snippets/declarative/qtbinding/context/MyItem.qml @@ -39,7 +39,7 @@ ****************************************************************************/ //![0] // MyItem.qml -import QtQuick 1.0 +import QtQuick 2.0 Text { text: currentDateTime } //![0] diff --git a/doc/src/snippets/declarative/qtbinding/enums/standalone.qml b/doc/src/snippets/declarative/qtbinding/enums/standalone.qml index 74e2c9c91d..001bace413 100644 --- a/doc/src/snippets/declarative/qtbinding/enums/standalone.qml +++ b/doc/src/snippets/declarative/qtbinding/enums/standalone.qml @@ -38,7 +38,7 @@ ** ****************************************************************************/ import MyLibrary 1.0 -import QtQuick 1.0 +import QtQuick 2.0 Item { diff --git a/doc/src/snippets/declarative/qtbinding/functions-cpp/MyItem.qml b/doc/src/snippets/declarative/qtbinding/functions-cpp/MyItem.qml index efad92ad38..769b3f106e 100644 --- a/doc/src/snippets/declarative/qtbinding/functions-cpp/MyItem.qml +++ b/doc/src/snippets/declarative/qtbinding/functions-cpp/MyItem.qml @@ -39,7 +39,7 @@ ****************************************************************************/ //![0] // MyItem.qml -import QtQuick 1.0 +import QtQuick 2.0 Item { width: 100; height: 100 diff --git a/doc/src/snippets/declarative/qtbinding/functions-qml/MyItem.qml b/doc/src/snippets/declarative/qtbinding/functions-qml/MyItem.qml index 8709332e9b..940007eb93 100644 --- a/doc/src/snippets/declarative/qtbinding/functions-qml/MyItem.qml +++ b/doc/src/snippets/declarative/qtbinding/functions-qml/MyItem.qml @@ -39,7 +39,7 @@ ****************************************************************************/ //![0] // MyItem.qml -import QtQuick 1.0 +import QtQuick 2.0 Item { function myQmlFunction(msg) { diff --git a/doc/src/snippets/declarative/qtbinding/loading/MyItem.qml b/doc/src/snippets/declarative/qtbinding/loading/MyItem.qml index bbce1c11f3..d6bb79e553 100644 --- a/doc/src/snippets/declarative/qtbinding/loading/MyItem.qml +++ b/doc/src/snippets/declarative/qtbinding/loading/MyItem.qml @@ -38,7 +38,7 @@ ** ****************************************************************************/ //![start] -import QtQuick 1.0 +import QtQuick 2.0 Item { width: 100; height: 100 diff --git a/doc/src/snippets/declarative/qtbinding/properties-cpp/MyItem.qml b/doc/src/snippets/declarative/qtbinding/properties-cpp/MyItem.qml index 36f23dc94d..d9e2871668 100644 --- a/doc/src/snippets/declarative/qtbinding/properties-cpp/MyItem.qml +++ b/doc/src/snippets/declarative/qtbinding/properties-cpp/MyItem.qml @@ -39,7 +39,7 @@ ****************************************************************************/ //![0] // MyItem.qml -import QtQuick 1.0 +import QtQuick 2.0 Rectangle { width: 100; height: 100 diff --git a/doc/src/snippets/declarative/qtbinding/properties-qml/MyItem.qml b/doc/src/snippets/declarative/qtbinding/properties-qml/MyItem.qml index e4e10029cb..3dac6735e3 100644 --- a/doc/src/snippets/declarative/qtbinding/properties-qml/MyItem.qml +++ b/doc/src/snippets/declarative/qtbinding/properties-qml/MyItem.qml @@ -39,7 +39,7 @@ ****************************************************************************/ //![0] // MyItem.qml -import QtQuick 1.0 +import QtQuick 2.0 Item { property int someNumber: 100 diff --git a/doc/src/snippets/declarative/qtbinding/resources/main.qml b/doc/src/snippets/declarative/qtbinding/resources/main.qml index 00cbb86266..9929b7445f 100644 --- a/doc/src/snippets/declarative/qtbinding/resources/main.qml +++ b/doc/src/snippets/declarative/qtbinding/resources/main.qml @@ -40,7 +40,7 @@ //![0] // main.qml -import QtQuick 1.0 +import QtQuick 2.0 Image { source: "images/background.png" } //![0] diff --git a/doc/src/snippets/declarative/qtbinding/signals-cpp/MyItem.qml b/doc/src/snippets/declarative/qtbinding/signals-cpp/MyItem.qml index 618b90a106..a5f0eebe8a 100644 --- a/doc/src/snippets/declarative/qtbinding/signals-cpp/MyItem.qml +++ b/doc/src/snippets/declarative/qtbinding/signals-cpp/MyItem.qml @@ -39,7 +39,7 @@ ****************************************************************************/ //![0] // MyItem.qml -import QtQuick 1.0 +import QtQuick 2.0 Item { Connections { diff --git a/doc/src/snippets/declarative/qtbinding/signals-qml/MyItem.qml b/doc/src/snippets/declarative/qtbinding/signals-qml/MyItem.qml index 1275919b8e..bf4b92129e 100644 --- a/doc/src/snippets/declarative/qtbinding/signals-qml/MyItem.qml +++ b/doc/src/snippets/declarative/qtbinding/signals-qml/MyItem.qml @@ -39,7 +39,7 @@ ****************************************************************************/ //![0] // MyItem.qml -import QtQuick 1.0 +import QtQuick 2.0 Item { id: item diff --git a/doc/src/snippets/declarative/qtbinding/variantlistmap/MyItem.qml b/doc/src/snippets/declarative/qtbinding/variantlistmap/MyItem.qml index dc7880ae24..fe5daecb41 100644 --- a/doc/src/snippets/declarative/qtbinding/variantlistmap/MyItem.qml +++ b/doc/src/snippets/declarative/qtbinding/variantlistmap/MyItem.qml @@ -37,7 +37,7 @@ ** $QT_END_LICENSE$ ** ****************************************************************************/ -import QtQuick 1.0 +import QtQuick 2.0 //![0] // MyItem.qml |