summaryrefslogtreecommitdiffstats
path: root/tests/auto/repc/signature/differentPropertyCount/mismatch.rep
blob: 3fdfe039f07a29dac5913f48b03fe1f0b7e47278 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
ENUM Test {TRUE, FALSE}

class TestChildClass
{
    PROP(int prop1);
    PROP(double prop2);
};

class TestClass
{
    ENUM ClassEnum {Null, One, Two}

    PROP(TestEnum::Test testEnum)
    PROP(ClassEnum classEnum)

    PROP(int prop1);
    PROP(double prop2);
    PROP(double prop3);

    CLASS childProp(TestChildClass);

    SLOT(bool slot1());
    SLOT(QString slot2());

    SIGNAL(signal1());
    SIGNAL(signal2());

    SLOT(void ping(const QString &message));
    SIGNAL(pong(const QString &message));

    SLOT(bool quit());
};