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