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