#include <QtGui/qevent.h> #ifndef QEVENT_H #ifndef QT_NO_ACTION class QActionEvent: public QEvent{ /* Some contents are skipped to improve readability */ public: inline struct QAction* action() const /* ... */ }; #endif #endif // QEVENT_H