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