summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativewebview/data/javaScript.qml
blob: 4141166a481d73abecf9ccb5b85751fa8708b09b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import Qt 4.7
import org.webkit 1.0

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