aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Analysis/Inputs/qt-simulator.h
blob: 8737aa4d9947f39ab487ccbe02c161b7a8c92761 (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
34
35
36
37
38
39
#pragma clang system_header

namespace QtPrivate {
struct QSlotObjectBase {};
}

namespace Qt {
enum ConnectionType {};
enum TimerType {};
}

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 {};

struct QTimer {
  static void singleShotImpl(int, Qt::TimerType, const QObject *,
                             QtPrivate::QSlotObjectBase *);
};