diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-08-18 13:28:09 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-08-20 16:59:01 (GMT) |
commit | 1ffed52434741aa31b1549a931f6b446b2aaabd0 (patch) | |
tree | 3b30ddb20e3d8b851f08c93028fcb1386ac28b9e /src/gui/effects/qgraphicseffect.cpp | |
parent | 181c9774791b6f581598389337f9af0fa4658e6a (diff) | |
download | Qt-1ffed52434741aa31b1549a931f6b446b2aaabd0.zip Qt-1ffed52434741aa31b1549a931f6b446b2aaabd0.tar.gz Qt-1ffed52434741aa31b1549a931f6b446b2aaabd0.tar.bz2 |
Add support for graphics effects on QWidget.
Diffstat (limited to 'src/gui/effects/qgraphicseffect.cpp')
-rw-r--r-- | src/gui/effects/qgraphicseffect.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/effects/qgraphicseffect.cpp b/src/gui/effects/qgraphicseffect.cpp index c6f2871..3d363f1 100644 --- a/src/gui/effects/qgraphicseffect.cpp +++ b/src/gui/effects/qgraphicseffect.cpp @@ -97,6 +97,7 @@ #include <QtGui/qimage.h> #include <QtGui/qpainter.h> #include <QtCore/qrect.h> +#include <QtCore/qdebug.h> QT_BEGIN_NAMESPACE @@ -122,6 +123,11 @@ const QGraphicsItem *QGraphicsEffectSource::graphicsItem() const return d_func()->graphicsItem(); } +const QWidget *QGraphicsEffectSource::widget() const +{ + return d_func()->widget(); +} + const QStyleOption *QGraphicsEffectSource::styleOption() const { return d_func()->styleOption(); |