diff options
Diffstat (limited to 'src/declarative/fx/qfxpath.cpp')
-rw-r--r-- | src/declarative/fx/qfxpath.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/declarative/fx/qfxpath.cpp b/src/declarative/fx/qfxpath.cpp index b4376a1..aff8a6d 100644 --- a/src/declarative/fx/qfxpath.cpp +++ b/src/declarative/fx/qfxpath.cpp @@ -47,14 +47,14 @@ QT_BEGIN_NAMESPACE -QML_DEFINE_TYPE(Qt,4.6,Path,QFxPath) +QML_DEFINE_TYPE(Qt,4,6,(QT_VERSION&0x00ff00)>>8,Path,QFxPath) QML_DEFINE_NOCREATE_TYPE(QFxPathElement) QML_DEFINE_NOCREATE_TYPE(QFxCurve) -QML_DEFINE_TYPE(Qt,4.6,PathAttribute,QFxPathAttribute) -QML_DEFINE_TYPE(Qt,4.6,PathPercent,QFxPathPercent) -QML_DEFINE_TYPE(Qt,4.6,PathLine,QFxPathLine) -QML_DEFINE_TYPE(Qt,4.6,PathQuad,QFxPathQuad) -QML_DEFINE_TYPE(Qt,4.6,PathCubic,QFxPathCubic) +QML_DEFINE_TYPE(Qt,4,6,(QT_VERSION&0x00ff00)>>8,PathAttribute,QFxPathAttribute) +QML_DEFINE_TYPE(Qt,4,6,(QT_VERSION&0x00ff00)>>8,PathPercent,QFxPathPercent) +QML_DEFINE_TYPE(Qt,4,6,(QT_VERSION&0x00ff00)>>8,PathLine,QFxPathLine) +QML_DEFINE_TYPE(Qt,4,6,(QT_VERSION&0x00ff00)>>8,PathQuad,QFxPathQuad) +QML_DEFINE_TYPE(Qt,4,6,(QT_VERSION&0x00ff00)>>8,PathCubic,QFxPathCubic) /*! \qmlclass PathElement |