summaryrefslogtreecommitdiffstats
path: root/tests/auto/repc/signature/server.rep
blob: 251a651371a258ddc86ae4b8702df4ae18da391f (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
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);

    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());
};