#include <QtGui/qcheckbox.h> #ifndef QCHECKBOX_H class QCheckBox: public QAbstractButton{ /* Some contents are skipped to improve readability */ public: void setCheckState(enum Qt::CheckState state); /* ... */ }; #endif // QCHECKBOX_H