qtdeclarative/tests/auto/qml/qmlcppcodegen/data/urlString.qml

21 lines
423 B
QML

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;
}
}