#include <QtGui/qabstractbutton.h> #ifndef QABSTRACTBUTTON_H class QAbstractButton: public QWidget{ /* Some contents are skipped to improve readability */ public: void setIcon(class QIcon const & icon); /* ... */ }; #endif // QABSTRACTBUTTON_H