summaryrefslogtreecommitdiffstats
path: root/examples/effects/customshader/blureffect.h
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-09-06 22:25:01 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-09-06 22:25:01 (GMT)
commit3f109fd85cbdc49dc3ef1c14066073079f4e34bf (patch)
tree0835717bbe2d0c3b79bed2146ea72bf494111913 /examples/effects/customshader/blureffect.h
parentf8b043f1d73906be593232cf02aa06e576ae4e27 (diff)
downloadQt-3f109fd85cbdc49dc3ef1c14066073079f4e34bf.zip
Qt-3f109fd85cbdc49dc3ef1c14066073079f4e34bf.tar.gz
Qt-3f109fd85cbdc49dc3ef1c14066073079f4e34bf.tar.bz2
Make QGraphicsShaderEffect private API for 4.6
The custom shader code in the OpenGL2 paint engine needs time to mature before we make this official public API. Reviewed-by: trustme
Diffstat (limited to 'examples/effects/customshader/blureffect.h')
-rw-r--r--examples/effects/customshader/blureffect.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/effects/customshader/blureffect.h b/examples/effects/customshader/blureffect.h
index 0cafd80..7c12ccf 100644
--- a/examples/effects/customshader/blureffect.h
+++ b/examples/effects/customshader/blureffect.h
@@ -52,9 +52,9 @@ public:
void setBaseLine(qreal y) { m_baseLine = y; }
- QRectF boundingRectFor(const QRectF &) const;
+ QRectF boundingRect() const;
- void draw(QPainter *painter, QGraphicsEffectSource*);
+ void draw(QPainter *painter, QGraphicsEffectSource *source);
private:
void adjustForItem();