1 #pragma clang system_header 2 3 struct QObject { 4 }; 5 6 struct QEvent { 7 enum Type { None }; QEventQEvent8 QEvent(Type) {} 9 }; 10 11 struct QCoreApplication : public QObject { 12 static void postEvent(QObject *receiver, QEvent *event); 13 static QCoreApplication *instance(); 14 }; 15 16 struct QApplication : public QCoreApplication {}; 17