40 lines · c
1#pragma clang system_header2 3namespace QtPrivate {4struct QSlotObjectBase {};5}6 7namespace Qt {8enum ConnectionType {};9enum TimerType {};10}11 12struct QMetaObject {13 struct Connection {};14};15 16struct 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 24struct QEvent {25 enum Type { None };26 QEvent(Type) {}27};28 29struct QCoreApplication : public QObject {30 static void postEvent(QObject *receiver, QEvent *event);31 static QCoreApplication *instance();32};33 34struct QApplication : public QCoreApplication {};35 36struct QTimer {37 static void singleShotImpl(int, Qt::TimerType, const QObject *,38 QtPrivate::QSlotObjectBase *);39};40