#include <QtGui/qregion.h> #ifndef QREGION_H class QRegion{ /* Some contents are skipped to improve readability */ private: struct QRegionData{ /* ... */ #if defined(Q_WS_QWS) || defined(Q_WS_X11) || defined(Q_WS_MAC) public: struct QRegionPrivate* qt_rgn; #endif /* ... */ }; /* ... */ }; #endif // QREGION_H