MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

Qt 3 Support Members for QRegion

The following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. We advise against using them in new code.

Public Functions

QRegion ( const QPolygon & pa, bool winding )
bool isNull () const
int numRects () const

Member Function Documentation

QRegion::QRegion ( const QPolygon & pa, bool winding )

Use the constructor tha takes a Qt::FillRule as the second argument instead.

bool QRegion::isNull () const

Use isEmpty() instead.

int QRegion::numRects () const

Returns the number of rectangles that will be returned in rects().

This function was introduced in Qt 4.4.