#include <QtGui/qregion.h> #ifndef QREGION_H class QRegion{ /* Some contents are skipped to improve readability */ public: class QVector < class QRect > rects() const /* ... */ }; #endif // QREGION_H