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