#include <QtGui/qevent.h> #ifndef QEVENT_H class QContextMenuEvent: public QInputEvent{ /* Some contents are skipped to improve readability */ protected: unsigned int reas:8; /* ... */ }; #endif // QEVENT_H