| 1 | #pragma clang system_header |
| 2 | |
| 3 | namespace QtPrivate { |
| 4 | struct QSlotObjectBase {}; |
| 5 | } |
| 6 | |
| 7 | namespace Qt { |
| 8 | enum ConnectionType {}; |
| 9 | } |
| 10 | |
| 11 | struct QMetaObject { |
| 12 | struct Connection {}; |
| 13 | }; |
| 14 | |
| 15 | struct 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 | |
| 23 | struct QEvent { |
| 24 | enum Type { None }; |
| 25 | QEvent(Type) {} |
| 26 | }; |
| 27 | |
| 28 | struct QCoreApplication : public QObject { |
| 29 | static void postEvent(QObject *receiver, QEvent *event); |
| 30 | static QCoreApplication *instance(); |
| 31 | }; |
| 32 | |
| 33 | struct QApplication : public QCoreApplication {}; |
| 34 | |