aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/data/urlString.qml
blob: a83855ebdb91955b972b4ece23bc77ee9e37aa79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
pragma Strict
import QtQml

QtObject {
    id: self
    property url c: "http://aabbcc.com"
    property url d: "http://ccbbaa.com"
    property url e: "http:" + "//a112233.de"
    Component.onCompleted: {
        c = "http://dddddd.com";
        self.d = "http://aaaaaa.com";
        myUrlChanged(c)
    }

    signal myUrlChanged(urlParam: url)

    onMyUrlChanged: (urlParam) => {
        objectName = urlParam;
    }
}