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