summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativewebview/data/javaScript.qml
blob: 527e3b9832aa404597ac7a548c6d0abf904bcbf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import QtQuick 1.0
import QtWebKit 1.0

WebView {
    url: "javaScript.html"
    javaScriptWindowObjects: [
        QtObject {
            property string qmlprop: "qmlvalue"
            WebView.windowObjectName: "myjsname"
        }
    ]
}