#include <QtGui/qaction.h> #ifndef QACTION_H #ifndef QT_NO_ACTION class QAction: public QObject{ /* Some contents are skipped to improve readability */ public: enum ActionEvent{ Trigger = 0, Hover = 1, }; /* ... */ }; #endif // QT_NO_ACTION #endif // QACTION_H