summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-10-02 07:10:05 (GMT)
committerAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-10-02 07:12:18 (GMT)
commitc76bb1dcda7b0339d9de427d155b593b3779bea7 (patch)
treef5be1c9c8e35dca1b30071038f2321dc2f971bb9 /src/declarative
parent4795821108fa49c728cca7f575629def23e68df6 (diff)
downloadQt-c76bb1dcda7b0339d9de427d155b593b3779bea7.zip
Qt-c76bb1dcda7b0339d9de427d155b593b3779bea7.tar.gz
Qt-c76bb1dcda7b0339d9de427d155b593b3779bea7.tar.bz2
Enable QGraphicsBloomEffect in QML.
Also add this to the effect example. Reviewed-by: Aaron Kennedy
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/fx/qfxitem.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/declarative/fx/qfxitem.cpp b/src/declarative/fx/qfxitem.cpp
index 7f4e6b1..4d31aaa 100644
--- a/src/declarative/fx/qfxitem.cpp
+++ b/src/declarative/fx/qfxitem.cpp
@@ -96,6 +96,10 @@ QML_DEFINE_TYPE(Qt,4,6,(QT_VERSION&0x00ff00)>>8,DropShadow,QGraphicsDropShadowEf
QML_DECLARE_TYPE(QGraphicsOpacityEffect)
QML_DEFINE_TYPE(Qt,4,6,(QT_VERSION&0x00ff00)>>8,Opacity,QGraphicsOpacityEffect)
+
+QML_DECLARE_TYPE(QGraphicsBloomEffect)
+QML_DEFINE_TYPE(Qt,4,6,(QT_VERSION&0x00ff00)>>8,Bloom,QGraphicsBloomEffect)
+
/*!
\qmlclass Transform
\brief A transformation.