#include <QtGui/qaction.h> #ifndef QACTION_H #ifndef QT_NO_ACTION class QAction: public QObject{ /* Some contents are skipped to improve readability */ public: inline void trigger(); /* ... */ }; #endif // QT_NO_ACTION #endif // QACTION_H