diff options
Diffstat (limited to 'tests/auto/qml/data/grouping.html')
-rw-r--r-- | tests/auto/qml/data/grouping.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/auto/qml/data/grouping.html b/tests/auto/qml/data/grouping.html new file mode 100644 index 0000000..f2d7aec --- /dev/null +++ b/tests/auto/qml/data/grouping.html @@ -0,0 +1,17 @@ +<html> + <head> + <script type="text/javascript" src="qrc:///qwebchannel/qwebchannel.js"></script> + <script type="text/javascript" src="testsetup.js"></script> + <script type="text/javascript"> + //BEGIN SETUP + window.channel = createWebChannel(function(channel) { + channel.subscribe(QWebChannelMessageTypes.propertyUpdate, function() { + channel.exec({label: "gotPropertyUpdate", values: [myObj.myProperty(), myOtherObj.foo(), myOtherObj.bar()]}); + }); + }); + //END SETUP + </script> + </head> + <body> + </body> +</html> |