#include <QtGui/qwidget.h> #ifndef QWIDGET_H class QWidgetData{ /* Some contents are skipped to improve readability */ public: unsigned int is_closing:1; /* ... */ }; #endif // QWIDGET_H