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.
QRegion ( const QPolygon & pa, bool winding ) | |
bool | isNull () const |
int | numRects () const |
Use the constructor tha takes a Qt::FillRule as the second argument instead.
Use isEmpty() instead.
Returns the number of rectangles that will be returned in rects().
This function was introduced in Qt 4.4.