#include <QtGui/qregion.h> #ifndef QREGION_H class QRegion{ /* Some contents are skipped to improve readability */ #ifndef qdoc #if defined(Q_WS_WIN) #elif defined(Q_WS_X11) public: inline Region handle() const #elif defined(Q_WS_MAC) #elif defined(Q_WS_QWS) #endif #endif /* ... */ }; #endif // QREGION_H