1 #pragma clang system_header 2 3 namespace QtPrivate { 4 struct QSlotObjectBase {}; 5 } 6 7 namespace Qt { 8 enum ConnectionType {}; 9 enum TimerType {}; 10 } 11 12 struct QMetaObject { 13 struct Connection {}; 14 }; 15 16 struct QObject { 17 static QMetaObject::Connection connectImpl(const QObject *, void **, 18 const QObject *, void **, 19 QtPrivate::QSlotObjectBase *, 20 Qt::ConnectionType, 21 const int *, const QMetaObject *); 22 }; 23 24 struct QEvent { 25 enum Type { None }; QEventQEvent26 QEvent(Type) {} 27 }; 28 29 struct QCoreApplication : public QObject { 30 static void postEvent(QObject *receiver, QEvent *event); 31 static QCoreApplication *instance(); 32 }; 33 34 struct QApplication : public QCoreApplication {}; 35 36 struct QTimer { 37 static void singleShotImpl(int, Qt::TimerType, const QObject *, 38 QtPrivate::QSlotObjectBase *); 39 }; 40