summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/MocInclude/Common/OtherUnderscoreSub.cpp
blob: 712c540c3b9d31e787da4c18aa9a900350e2d478 (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
#include "OtherUnderscoreSub.hpp"

#include "OtherUnderscoreSubDir/SubExtra.hpp"
#include "OtherUnderscoreSub_p.hpp"

class OtherUnderscoreSubLocal : public QObject
{
  Q_OBJECT
public:
  OtherUnderscoreSubLocal();
  ~OtherUnderscoreSubLocal();
};

OtherUnderscoreSubLocal::OtherUnderscoreSubLocal()
{
}

OtherUnderscoreSubLocal::~OtherUnderscoreSubLocal()
{
}

OtherUnderscoreSubPrivate::OtherUnderscoreSubPrivate()
{
  OtherUnderscoreSubLocal localObj;
  SubExtra extraObj;
}

OtherUnderscoreSubPrivate::~OtherUnderscoreSubPrivate()
{
}

OtherUnderscoreSub::OtherUnderscoreSub()
  : d(new OtherUnderscoreSubPrivate)
{
}

OtherUnderscoreSub::~OtherUnderscoreSub()
{
  delete d;
}

// For OtherUnderscoreSubLocal
#include "OtherUnderscoreSub.moc"
// - Not the own header
// - in a subdirectory
#include "OtherUnderscoreSubDir/moc_SubExtra.cpp"