Logo Search packages:      
Sourcecode: qt4-x11 version File versions

void QWidget::repaint ( const QRect r  )  [inherited]

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. This version repaints a rectangle r inside the widget.

Definition at line 8719 of file qwidget.cpp.

References QWidget::repaint().

{
#ifdef QT_GREENPHONE_OPT
    // At least on embedded, we don't need to intersect against the clipRect
    // here, as we do it within QWidgetBackingStore::dirtyRegion()
    repaint(QRegion(r));
#else
    Q_D(QWidget);
    repaint(QRegion(d->clipRect().intersected(r)));
#endif
}


Generated by  Doxygen 1.6.0   Back to index