aboutsummaryrefslogtreecommitdiffstats
path: root/examples/ivicore/qface-ivi-addressbook/demo/main.qml
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@qt.io>2021-05-27 17:43:38 +0200
committerDominik Holland <dominik.holland@qt.io>2021-05-28 14:13:31 +0200
commitb2107c897eb0a945c2a3b756322f261c549c13aa (patch)
tree72394e20f7996995caa05d27a156f65e9096a918 /examples/ivicore/qface-ivi-addressbook/demo/main.qml
parente63abd2a122a21623e0c623b94f4719149c1eca7 (diff)
ivigenerator: Remove the "Module" postfix in the autogenerated classes
The module class which is autogenerated by the ivigenerator always got a postfix which was used to prevent compilation errors when module and interface had the same name. As we don't use any extra postfix for structs or interfaces either the "Module" postfix is now dropped as well and the module should rather be renamed already in the IDL file instead. Change-Id: I91bf95e824436e65e374aaf397ecd5c548444589 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Robert Griebl <robert.griebl@qt.io> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Diffstat (limited to 'examples/ivicore/qface-ivi-addressbook/demo/main.qml')
-rw-r--r--examples/ivicore/qface-ivi-addressbook/demo/main.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/ivicore/qface-ivi-addressbook/demo/main.qml b/examples/ivicore/qface-ivi-addressbook/demo/main.qml
index 9a487ed..ee8bca9 100644
--- a/examples/ivicore/qface-ivi-addressbook/demo/main.qml
+++ b/examples/ivicore/qface-ivi-addressbook/demo/main.qml
@@ -55,7 +55,7 @@ import QtQuick 2.11
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.3
import QtQuick.Window 2.2
-import Example.IVI.AddressBook 1.0
+import Example.IVI.AddressBookModule 1.0
Window {
id: root
@@ -91,7 +91,7 @@ Window {
Button {
Layout.fillWidth: true
text: "New Contact"
- onClicked: addressBook.insertContact(0, AddressBook.contact("Foo", "Bar", "12234"))
+ onClicked: addressBook.insertContact(0, AddressBookModule.contact("Foo", "Bar", "12234"))
}
}
}