Home · All Classes · All Functions · Overviews

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.


Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt 4.6.3