Clang Project

clang_source_code/test/Analysis/Inputs/qt-simulator.h
1#pragma clang system_header
2
3namespace QtPrivate {
4struct QSlotObjectBase {};
5}
6
7namespace Qt {
8enum ConnectionType {};
9}
10
11struct QMetaObject {
12  struct Connection {};
13};
14
15struct QObject {
16  static QMetaObject::Connection connectImpl(const QObject *, void **,
17                                             const QObject *, void **,
18                                             QtPrivate::QSlotObjectBase *,
19                                             Qt::ConnectionType,
20                                             const int *, const QMetaObject *);
21};
22
23struct QEvent {
24  enum Type { None };
25  QEvent(Type) {}
26};
27
28struct QCoreApplication : public QObject {
29  static void postEvent(QObject *receiver, QEvent *event);
30  static QCoreApplication *instance();
31};
32
33struct QApplication : public QCoreApplication {};
34