#include <QtGui/qwidgetaction.h> #ifndef QWIDGETACTION_H #ifndef QT_NO_ACTION class QWidgetAction: public QAction{ /* Some contents are skipped to improve readability */ public: static struct QMetaObject const staticMetaObject; /* ... */ }; #endif // QT_NO_ACTION #endif // QWIDGETACTION_H