blob: 22311d6bb3a3879d40ee619ae578fd9f21ea4d67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import QtQuick 1.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);
}
}
|