#include <QtCore/qcoreevent.h> #ifndef QCOREEVENT_H class QEvent{ /* Some contents are skipped to improve readability */ private: unsigned int m_accept:1; /* ... */ }; #endif // QCOREEVENT_H