Obsolete Members for QPixmap

The following members of class QPixmap are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Functions

(obsolete) void fill(const QPaintDevice *device, const QPoint &p)

Static Public Members

(obsolete) QPixmap grabWidget(QObject *widget, const QRect &rectangle)

Member Function Documentation

void QPixmap::fill(const QPaintDevice *device, const QPoint &p)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Use QPainter or the fill(QColor) overload instead.

[static] QPixmap QPixmap::grabWidget(QObject *widget, const QRect &rectangle)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Use QWidget::grab() instead.