summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/AutogenOriginDependsOff/a_qt.cpp
blob: c7c6863d5b0eb9a8be0793739d68acefb4aa57aa (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

#include "a_qt.hpp"

#include <a_mc.hpp>

namespace a_qt {

/// @brief A source local QObject based class
class Source_QObject : public QObject
{
  Q_OBJECT
public:
  Source_QObject() {}
  ~Source_QObject() {}

  std::string str;
};

std::string mocs_compilation()
{
  // Create and destroy QObject based classes
  Header_QObject header_obj;
  Source_QObject source_obj;

  return std::string(a_mc::mocs_compilation);
}
}

#include "a_qt.moc"