summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cpp/30731-qt-1.cpp
blob: 55b2459b2e65d4e046c53f7f35d2d67655723f75 (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
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;
};