aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/data/Dummy2.qml
blob: a3bbef1888f1d6765d2a9136eccb04def5cf702d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (C) 2020 The Qt Company Ltd.

import QtQml

QtObject {
    property int value
    property Dummy2 child
    property int dummyEnum

    signal triggered()
    signal signalWithArg(int one, bool two)
    property real onValue
    property real offValue

    function someFunction(a: int, b: bool, c: Dummy2, d: real, e: int) : int { return 42 }
    property string strProp
    function concat(a: string, b: string) : string { return a + b }
}