diff -r dee5afe5301f -r 3f74d0d4af4c src/gui/painting/qpathclipper_p.h --- a/src/gui/painting/qpathclipper_p.h Mon Mar 15 12:43:09 2010 +0200 +++ b/src/gui/painting/qpathclipper_p.h Thu Apr 08 14:19:33 2010 +0300 @@ -86,6 +86,8 @@ bool intersect(); bool contains(); + static bool pathToRect(const QPainterPath &path, QRectF *rect = 0); + private: Q_DISABLE_COPY(QPathClipper)