summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/Inputs/qt-simulator.h
blob: a3c7387d2003a5071d4d6111dacc78a7bc9886e6 (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
#pragma clang system_header

namespace QtPrivate {
struct QSlotObjectBase {};
}

namespace Qt {
enum ConnectionType {};
}

struct QMetaObject {
  struct Connection {};
};

struct QObject {
  static QMetaObject::Connection connectImpl(const QObject *, void **,
                                             const QObject *, void **,
                                             QtPrivate::QSlotObjectBase *,
                                             Qt::ConnectionType,
                                             const int *, const QMetaObject *);
};

struct QEvent {
  enum Type { None };
  QEvent(Type) {}
};

struct QCoreApplication : public QObject {
  static void postEvent(QObject *receiver, QEvent *event);
  static QCoreApplication *instance();
};

struct QApplication : public QCoreApplication {};
OpenPOWER on IntegriCloud