blob: 35c9d6fd5defe69fa4c8c7a14d20bc831cf3ce22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import QtQuick 2.0
import Qt.test 1.0
MyQmlObject {
id: first
property bool aliasedIntIsUndefined: false
property alias intAlias: objprop.intp
objectProperty: QtObject {
id: objprop
property int intp: 12
}
function resetAlias() {
intAlias = undefined; // should error
aliasedIntIsUndefined = (objprop.intp == undefined);
}
}
|