diff options
-rw-r--r-- | examples/ayatanaqmlmenumodel.qml | 2 | ||||
-rw-r--r-- | examples/render-menumodel.qml | 3 | ||||
-rw-r--r-- | tests/client/loadmodel.qml | 5 | ||||
-rw-r--r-- | tests/client/loadmodel2.qml | 3 |
4 files changed, 5 insertions, 8 deletions
diff --git a/examples/ayatanaqmlmenumodel.qml b/examples/ayatanaqmlmenumodel.qml index 00984f0..fd110cc 100644 --- a/examples/ayatanaqmlmenumodel.qml +++ b/examples/ayatanaqmlmenumodel.qml @@ -17,7 +17,7 @@ */ import QtQuick 2.0 -import QMenuModel 0.1 +import QMenuModel 1.0 Item { width: 400; diff --git a/examples/render-menumodel.qml b/examples/render-menumodel.qml index 5458eeb..3c4309c 100644 --- a/examples/render-menumodel.qml +++ b/examples/render-menumodel.qml @@ -22,7 +22,7 @@ // /org/ayatana/testmenu. import QtQuick 2.0 -import QMenuModel 0.1 +import QMenuModel 1.0 Item { id: container @@ -162,4 +162,3 @@ Item { Component.onCompleted: menuModel.start() } - diff --git a/tests/client/loadmodel.qml b/tests/client/loadmodel.qml index fcdb4ba..f51a183 100644 --- a/tests/client/loadmodel.qml +++ b/tests/client/loadmodel.qml @@ -18,7 +18,7 @@ */ import QtQuick 2.0 -import QMenuModel 0.1 +import QMenuModel 1.0 Item { id: root @@ -44,9 +44,8 @@ Item { Component.onCompleted: { // dynamically create the model to destroy it later - var model = Qt.createQmlObject("import QMenuModel 0.1; QDBusMenuModel { id: menuModel; busType: globalBusType; busName: globalBusName; objectPath: globalObjectPath; }", view, ""); + var model = Qt.createQmlObject("import QMenuModel 1.0; QDBusMenuModel { id: menuModel; busType: globalBusType; busName: globalBusName; objectPath: globalObjectPath; }", view, ""); model.start(); view.model = model; } } - diff --git a/tests/client/loadmodel2.qml b/tests/client/loadmodel2.qml index 4e283bb..5d1f43b 100644 --- a/tests/client/loadmodel2.qml +++ b/tests/client/loadmodel2.qml @@ -18,7 +18,7 @@ */ import QtQuick 2.0 -import QMenuModel 0.1 +import QMenuModel 1.0 Item { width: 100 @@ -38,4 +38,3 @@ Item { Component.onCompleted: menuModel.start() } - |