summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/mocInclude/ObjC.cpp
blob: 8ca34cbb4e29b54a329c72912c379e068eb3d7a7 (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
#include "ObjC.hpp"

class SubObjC : public QObject
{
  Q_OBJECT

public:
  SubObjC() {}
  ~SubObjC() {}

  Q_SLOT
  void aSlot();
};

void SubObjC::aSlot()
{
}

void ObjC::go()
{
  SubObjC subObj;
}

#include "ObjC.moc"
// Not the own header
#include "moc_ObjD.cpp"