See the QRegion class and especially its QRegion::united and operator+ members.

There is also QPainterPath::addRegion() if you are interested in obtaining a path covering the whole region.