summaryrefslogtreecommitdiffstats
path: root/Tests/Qt4Targets/main_gen_test.cpp
blob: 6616e844cb731fb74bcc711b9505ce253fc35e04 (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 <QObject>

#include "myinterface.h"

class MyObject
  : public QObject
  , MyInterface
{
  Q_OBJECT
  Q_INTERFACES(MyInterface)
public:
  explicit MyObject(QObject* parent = 0)
    : QObject(parent)
  {
  }
};

int main(int argc, char** argv)
{
  MyObject mo;
  mo.objectName();
  return 0;
}

#include "main_gen_test.moc"