aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmljsscope/data/methodAndSignalSourceLocation.qml
blob: 52841e323ca8ee3a954a3abad942575cc2d7def1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import QtQml

QtObject {
    function f1() { }
    function f2(a) { }
    function f3(a: int) { }
    function f4(a, b) { }
    function f5(a, b): void { }
    function f6(a, b, c): void {
        // Nothing
    }

    signal s1()
    signal s2(a: int)
    signal s3(a: int, b: string)
}