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

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