diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-08-20 10:35:46 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-08-20 10:35:46 (GMT) |
commit | bd24e3f06e0df6f17f620a722baeea170e29972f (patch) | |
tree | 39455cd6c8a24c2a01efa4cb27c52ec1e7f6ffac /src/gui/effects | |
parent | 6b7460b6b519122b78dfef598a100169dc6a074b (diff) | |
download | Qt-bd24e3f06e0df6f17f620a722baeea170e29972f.zip Qt-bd24e3f06e0df6f17f620a722baeea170e29972f.tar.gz Qt-bd24e3f06e0df6f17f620a722baeea170e29972f.tar.bz2 |
Make QGraphicsXXXEffect::boundingRectFor public.
Diffstat (limited to 'src/gui/effects')
-rw-r--r-- | src/gui/effects/qgraphicseffect.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/effects/qgraphicseffect.h b/src/gui/effects/qgraphicseffect.h index 1f0e4de..e92a4f4 100644 --- a/src/gui/effects/qgraphicseffect.h +++ b/src/gui/effects/qgraphicseffect.h @@ -209,6 +209,7 @@ public: QGraphicsBlurEffect(QObject *parent = 0); ~QGraphicsBlurEffect(); + QRectF boundingRectFor(const QRectF &rect) const; int blurRadius() const; public Q_SLOTS: @@ -218,7 +219,6 @@ Q_SIGNALS: void blurRadiusChanged(int blurRadius); protected: - QRectF boundingRectFor(const QRectF &rect) const; void draw(QPainter *painter, QGraphicsEffectSource *source); private: @@ -237,6 +237,7 @@ public: QGraphicsShadowEffect(QObject *parent = 0); ~QGraphicsShadowEffect(); + QRectF boundingRectFor(const QRectF &rect) const; QPointF shadowOffset() const; int blurRadius() const; qreal opacity() const; @@ -256,7 +257,6 @@ Q_SIGNALS: void opacityChanged(int opacity); protected: - QRectF boundingRectFor(const QRectF &rect) const; void draw(QPainter *painter, QGraphicsEffectSource *source); private: |