diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-02-14 23:27:19 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-02-14 23:27:19 (GMT) |
commit | 07536c0230692506d7207970eda8f255736fa653 (patch) | |
tree | 49c1a6cbd170989f8ff6b15fe7a7aa9d5575af6b /src/declarative/graphicsitems/qmlgraphicseffects.cpp | |
parent | 40e277aa622e74c18fb1b16214a2c1fe40870315 (diff) | |
download | Qt-07536c0230692506d7207970eda8f255736fa653.zip Qt-07536c0230692506d7207970eda8f255736fa653.tar.gz Qt-07536c0230692506d7207970eda8f255736fa653.tar.bz2 |
Move type initialization from global static initializers to QmlEngine construction.
Task-number: QT-2798
Diffstat (limited to 'src/declarative/graphicsitems/qmlgraphicseffects.cpp')
-rw-r--r-- | src/declarative/graphicsitems/qmlgraphicseffects.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/declarative/graphicsitems/qmlgraphicseffects.cpp b/src/declarative/graphicsitems/qmlgraphicseffects.cpp index e1f5687..268ba28 100644 --- a/src/declarative/graphicsitems/qmlgraphicseffects.cpp +++ b/src/declarative/graphicsitems/qmlgraphicseffects.cpp @@ -43,12 +43,6 @@ #include <QtGui/qgraphicseffect.h> -QML_DECLARE_TYPE(QGraphicsEffect) -QML_DEFINE_NOCREATE_TYPE(QGraphicsEffect) - -QML_DECLARE_TYPE(QGraphicsBlurEffect) -QML_DEFINE_TYPE(Qt,4,6,Blur,QGraphicsBlurEffect) - /*! \qmlclass Blur QGraphicsBlurEffect \brief The Blur object provides a blur effect. @@ -84,9 +78,6 @@ QML_DEFINE_TYPE(Qt,4,6,Blur,QGraphicsBlurEffect) The default hint is Qt.PerformanceHint. */ -QML_DECLARE_TYPE(QGraphicsColorizeEffect) -QML_DEFINE_TYPE(Qt,4,6,Colorize,QGraphicsColorizeEffect) - /*! \qmlclass Colorize QGraphicsColorizeEffect \brief The Colorize object provides a colorize effect. @@ -112,8 +103,6 @@ QML_DEFINE_TYPE(Qt,4,6,Colorize,QGraphicsColorizeEffect) while 1.0 means full colorization. By default, the strength is 1.0. */ -QML_DECLARE_TYPE(QGraphicsDropShadowEffect) -QML_DEFINE_TYPE(Qt,4,6,DropShadow,QGraphicsDropShadowEffect) /*! \qmlclass DropShadow QGraphicsDropShadowEffect @@ -155,8 +144,6 @@ QML_DEFINE_TYPE(Qt,4,6,DropShadow,QGraphicsDropShadowEffect) By default, the drop color is a semi-transparent dark gray. */ -QML_DECLARE_TYPE(QGraphicsOpacityEffect) -QML_DEFINE_TYPE(Qt,4,6,Opacity,QGraphicsOpacityEffect) /*! \qmlclass Opacity QGraphicsOpacityEffect |