diff options
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/fx/qfxflickable.h | 2 | ||||
-rw-r--r-- | src/declarative/fx/qfxgridview.h | 2 | ||||
-rw-r--r-- | src/declarative/qml/qmlcomponent.h | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/declarative/fx/qfxflickable.h b/src/declarative/fx/qfxflickable.h index 77aaf50..2c858bc 100644 --- a/src/declarative/fx/qfxflickable.h +++ b/src/declarative/fx/qfxflickable.h @@ -115,7 +115,7 @@ public: bool isLocked() const; void setLocked(bool); - Q_ENUMS(DragMode); + Q_ENUMS(DragMode) enum DragMode { Hard, Elastic }; DragMode dragMode() const; void setDragMode(DragMode mode); diff --git a/src/declarative/fx/qfxgridview.h b/src/declarative/fx/qfxgridview.h index 1514451..19c21c4 100644 --- a/src/declarative/fx/qfxgridview.h +++ b/src/declarative/fx/qfxgridview.h @@ -92,7 +92,7 @@ public: bool autoHighlight() const; void setAutoHighlight(bool); - Q_ENUMS(Flow); + Q_ENUMS(Flow) enum Flow { LeftToRight, TopToBottom }; Flow flow() const; void setFlow(Flow); diff --git a/src/declarative/qml/qmlcomponent.h b/src/declarative/qml/qmlcomponent.h index fe0c422..ae2f362 100644 --- a/src/declarative/qml/qmlcomponent.h +++ b/src/declarative/qml/qmlcomponent.h @@ -71,7 +71,7 @@ public: const QUrl &baseUrl=QUrl(), QObject *parent=0); virtual ~QmlComponent(); - Q_ENUMS( Status ); + Q_ENUMS(Status) enum Status { Null, Ready, Loading, Error }; Status status() const; @@ -104,7 +104,7 @@ private: friend class QmlVME; friend struct QmlCompositeTypeData; }; -Q_DECLARE_METATYPE(QmlComponent::Status); +Q_DECLARE_METATYPE(QmlComponent::Status) QML_DECLARE_TYPE(QmlComponent) QT_END_NAMESPACE |