#include <QtGui/qtoolbutton.h> #ifndef QTOOLBUTTON_H #ifndef QT_NO_TOOLBUTTON class QToolButton: public QAbstractButton{ /* Some contents are skipped to improve readability */ public: void setDefaultAction(struct QAction*); /* ... */ }; #endif // QT_NO_TOOLBUTTON #endif // QTOOLBUTTON_H