aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalton Durst <dalton@ubports.com>2021-12-23 16:20:35 -0600
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-02-01 07:56:48 +0100
commit02c973a4dc7d9980a0ea5a2993cb0ba08cb35857 (patch)
tree89ebf7e2b7def87a054953cad02d81d11b9a9bc4
parentcc2c2d9a64b28cd0a73fad3d11f1e3ab2cb5aefa (diff)
downloadqmenumodel-02c973a4dc7d9980a0ea5a2993cb0ba08cb35857.tar.gz
qmenumodel-02c973a4dc7d9980a0ea5a2993cb0ba08cb35857.tar.bz2
qmenumodel-02c973a4dc7d9980a0ea5a2993cb0ba08cb35857.zip
Fix versioning in examples and tests
-rw-r--r--examples/ayatanaqmlmenumodel.qml2
-rw-r--r--examples/render-menumodel.qml3
-rw-r--r--tests/client/loadmodel.qml5
-rw-r--r--tests/client/loadmodel2.qml3
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()
}
-