summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/cpp/30730-qt-1.cpp
blob: 5d0273e2e7ccd24567c5c9265c812d6fb2b907b4 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
class Foo : public QObject
{
    Q_OBJECT

private slots:
    void mySlot( ) {
    }

public slots:
    void publicSlot( );

signals:
    void somesignal( );

};

class foo
{
    bool b;

public:
    int i;
};
class bar : public
    foo
{
    void *p;

protected:
    double d;
    enum e {A,B};

private:
};

class Foo1 : public QObject
{
    Q_OBJECT

private Q_SLOTS:
    void mySlot( );

public Q_SLOTS:
    void publicSlot( );

Q_SIGNALS:
    void somesignal( );
};

class foo1
{
    bool b;

public:
    int i;
};
class bar : public
    foo1
{
    void *p;

protected:
    double d;
};