blob: 92966b24a8298023a9f4b433c31c737f640c0e21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="qrc:///qtwebchannel/qwebchannel.js"></script>
<script type="text/javascript">
//BEGIN SETUP
var channel = new QWebChannel(qt.webChannelTransport, function(channel) {
window.testObject = channel.objects.testObject;
testObject.runTest.connect(function(foo) {
testObject.foo = foo;
testObject.bar(foo);
});
testObject.clientInitialized(testObject.foo);
});
//END SETUP
</script>
</head>
<body>
</body>
</html>
|