#include <QtCore/qnamespace.h> #ifndef QNAMESPACE_H class QInternal{ /* Some contents are skipped to improve readability */ public: enum PaintDeviceFlags{ /* ... */ Widget = 1, /* ... */ }; /* ... */ }; #endif // QNAMESPACE_H