From: Alan Alpert Date: Tue, 26 Jul 2011 04:21:22 +0000 (+1000) Subject: Update PhotoViewer to QtQuick 2.0 X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=e5be1482c81fb3a502e2e5f8e56f11f182c2adab;p=konrad%2Fqtdeclarative.git Update PhotoViewer to QtQuick 2.0 Seems to work fine. Change-Id: I2da6487a6b3a5dc9ce1fb2036450ef0a0588430f Reviewed-on: http://codereview.qt.nokia.com/2149 Reviewed-by: Qt Sanity Bot Reviewed-by: Yann Bodson --- diff --git a/examples/declarative/photoviewer/PhotoViewerCore/AlbumDelegate.qml b/examples/declarative/photoviewer/PhotoViewerCore/AlbumDelegate.qml index 6100538..6a5d16e 100644 --- a/examples/declarative/photoviewer/PhotoViewerCore/AlbumDelegate.qml +++ b/examples/declarative/photoviewer/PhotoViewerCore/AlbumDelegate.qml @@ -39,7 +39,7 @@ ** ****************************************************************************/ -import QtQuick 1.0 +import QtQuick 2.0 Component { id: albumDelegate diff --git a/examples/declarative/photoviewer/PhotoViewerCore/BusyIndicator.qml b/examples/declarative/photoviewer/PhotoViewerCore/BusyIndicator.qml index 14eb643..f2119f1 100644 --- a/examples/declarative/photoviewer/PhotoViewerCore/BusyIndicator.qml +++ b/examples/declarative/photoviewer/PhotoViewerCore/BusyIndicator.qml @@ -39,7 +39,7 @@ ** ****************************************************************************/ -import QtQuick 1.0 +import QtQuick 2.0 Image { id: container diff --git a/examples/declarative/photoviewer/PhotoViewerCore/Button.qml b/examples/declarative/photoviewer/PhotoViewerCore/Button.qml index 481bcc5..c72dbe4 100644 --- a/examples/declarative/photoviewer/PhotoViewerCore/Button.qml +++ b/examples/declarative/photoviewer/PhotoViewerCore/Button.qml @@ -39,7 +39,7 @@ ** ****************************************************************************/ -import QtQuick 1.0 +import QtQuick 2.0 Item { id: container diff --git a/examples/declarative/photoviewer/PhotoViewerCore/EditableButton.qml b/examples/declarative/photoviewer/PhotoViewerCore/EditableButton.qml index 9c47310..56bf408 100644 --- a/examples/declarative/photoviewer/PhotoViewerCore/EditableButton.qml +++ b/examples/declarative/photoviewer/PhotoViewerCore/EditableButton.qml @@ -39,7 +39,7 @@ ** ****************************************************************************/ -import QtQuick 1.0 +import QtQuick 2.0 Item { id: container diff --git a/examples/declarative/photoviewer/PhotoViewerCore/PhotoDelegate.qml b/examples/declarative/photoviewer/PhotoViewerCore/PhotoDelegate.qml index 4c1692c..00f45ea 100644 --- a/examples/declarative/photoviewer/PhotoViewerCore/PhotoDelegate.qml +++ b/examples/declarative/photoviewer/PhotoViewerCore/PhotoDelegate.qml @@ -39,7 +39,7 @@ ** ****************************************************************************/ -import QtQuick 1.1 +import QtQuick 2.0 import "script/script.js" as Script Package { diff --git a/examples/declarative/photoviewer/PhotoViewerCore/ProgressBar.qml b/examples/declarative/photoviewer/PhotoViewerCore/ProgressBar.qml index 805eac2..5834398 100644 --- a/examples/declarative/photoviewer/PhotoViewerCore/ProgressBar.qml +++ b/examples/declarative/photoviewer/PhotoViewerCore/ProgressBar.qml @@ -39,7 +39,7 @@ ** ****************************************************************************/ -import QtQuick 1.0 +import QtQuick 2.0 Item { id: container diff --git a/examples/declarative/photoviewer/PhotoViewerCore/RssModel.qml b/examples/declarative/photoviewer/PhotoViewerCore/RssModel.qml index 9f6c004..b92685c 100644 --- a/examples/declarative/photoviewer/PhotoViewerCore/RssModel.qml +++ b/examples/declarative/photoviewer/PhotoViewerCore/RssModel.qml @@ -39,7 +39,7 @@ ** ****************************************************************************/ -import QtQuick 1.0 +import QtQuick 2.0 XmlListModel { property string tags : "" diff --git a/examples/declarative/photoviewer/PhotoViewerCore/Tag.qml b/examples/declarative/photoviewer/PhotoViewerCore/Tag.qml index 486a28d..e87cac7 100644 --- a/examples/declarative/photoviewer/PhotoViewerCore/Tag.qml +++ b/examples/declarative/photoviewer/PhotoViewerCore/Tag.qml @@ -39,7 +39,7 @@ ** ****************************************************************************/ -import QtQuick 1.0 +import QtQuick 2.0 Flipable { id: flipable diff --git a/examples/declarative/photoviewer/photoviewer.qml b/examples/declarative/photoviewer/photoviewer.qml index d2eaa56..d569c87 100644 --- a/examples/declarative/photoviewer/photoviewer.qml +++ b/examples/declarative/photoviewer/photoviewer.qml @@ -39,7 +39,7 @@ ** ****************************************************************************/ -import QtQuick 1.0 +import QtQuick 2.0 import "PhotoViewerCore" Rectangle {