summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/qt-1.cpp
blob: e318c1aa8542308b3ca0dabfcf535d31a0161ba9 (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
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;};