Obsolete Members for QPixmap

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

Public Functions

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

Static Public Members

QPixmap grabWidget(QObject * widget, const QRect & rectangle) (obsolete)
QPixmap grabWidget(QObject * widget, int x = 0, int y = 0, int w = -1, int h = -1) (obsolete)

Member Function Documentation

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

Use QPainter or the fill(QColor) overload instead.

void QPixmap::fill(const QPaintDevice * device, int x, int y)

Use QPainter or the fill(QColor) overload instead.

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

Use QWidget::grab() instead.

QPixmap QPixmap::grabWidget(QObject * widget, int x = 0, int y = 0, int w = -1, int h = -1) [static]

Use QWidget::grab() instead.