#include <QtGui/qevent.h> #ifndef QEVENT_H class QContextMenuEvent: public QInputEvent{ /* Some contents are skipped to improve readability */ public: inline class QPoint const & pos() const /* ... */ }; #endif // QEVENT_H