summaryrefslogtreecommitdiff
path: root/tests/auto/qml/data/multiclient.html
blob: 1573a1a766ed35888318230a594b96386923afb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<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
            createWebChannel(function(channel) {
                foo.ping.connect(function() {
                    foo.pong(function(value) {
                        channel.exec({pongAnswer: value});
                    });
                });
            });
            //END SETUP
        </script>
    </head>
    <body>
    </body>
</html>