summaryrefslogtreecommitdiff
path: root/tests/auto/qml/data/grouping.html
blob: f2d7aec3481a4852ee9860e31d8e512795304833 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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>