aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/signalWithJSValueInVariant.qml
blob: a6f1aa381af902361311881c16e7c1bb78a7c189 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import Qt.test 1.0

MyQmlObject {
    property string expression
    property string compare
    property bool pass: false
    onSignalWithVariant:
    {
        var expected = eval(expression);
        pass = eval(compare)(arg, expected);
    }
}