diff options
author | Gunnar Sletta <gunnar@trolltech.com> | 2009-10-26 09:39:38 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2009-10-27 07:50:27 (GMT) |
commit | c39fac87d62ef15867dc5571d03530d7e7240aa7 (patch) | |
tree | e947eb70c239619cf20db288300f3b0dd4423d92 /src/gui/kernel/qwidget_p.h | |
parent | f6480ca465af9617956752e60d9be3a19b710e0f (diff) | |
download | Qt-c39fac87d62ef15867dc5571d03530d7e7240aa7.zip Qt-c39fac87d62ef15867dc5571d03530d7e7240aa7.tar.gz Qt-c39fac87d62ef15867dc5571d03530d7e7240aa7.tar.bz2 |
Options on how to get a pixmap from an effect source
Usable for future optimizations.
Reviewed-by: Samuel
Diffstat (limited to 'src/gui/kernel/qwidget_p.h')
-rw-r--r-- | src/gui/kernel/qwidget_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/kernel/qwidget_p.h b/src/gui/kernel/qwidget_p.h index 159a3f2..616a972 100644 --- a/src/gui/kernel/qwidget_p.h +++ b/src/gui/kernel/qwidget_p.h @@ -819,7 +819,8 @@ public: QRectF boundingRect(Qt::CoordinateSystem system) const; void draw(QPainter *p); - QPixmap pixmap(Qt::CoordinateSystem system, QPoint *offset) const; + QPixmap pixmap(Qt::CoordinateSystem system, QPoint *offset, + QGraphicsEffectSource::PixmapPadMode mode) const; QWidget *m_widget; QWidgetPaintContext *context; |