diff options
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/extra/qfxflowview.cpp | 4 | ||||
-rw-r--r-- | src/declarative/extra/qfxflowview.h | 6 | ||||
-rw-r--r-- | src/declarative/extra/qmlbehaviour.cpp | 4 | ||||
-rw-r--r-- | src/declarative/fx/qfxgridview.cpp | 6 | ||||
-rw-r--r-- | src/declarative/fx/qfxlistview.cpp | 10 | ||||
-rw-r--r-- | src/declarative/fx/qfxvisualitemmodel.cpp | 2 |
6 files changed, 16 insertions, 16 deletions
diff --git a/src/declarative/extra/qfxflowview.cpp b/src/declarative/extra/qfxflowview.cpp index 412cbc8..1676512 100644 --- a/src/declarative/extra/qfxflowview.cpp +++ b/src/declarative/extra/qfxflowview.cpp @@ -49,8 +49,8 @@ QT_BEGIN_NAMESPACE class QFxFlowViewAttached : public QObject { Q_OBJECT -Q_PROPERTY(int row READ row NOTIFY posChanged); -Q_PROPERTY(int column READ column NOTIFY posChanged); +Q_PROPERTY(int row READ row NOTIFY posChanged) +Q_PROPERTY(int column READ column NOTIFY posChanged) public: QFxFlowViewAttached(QObject *parent); diff --git a/src/declarative/extra/qfxflowview.h b/src/declarative/extra/qfxflowview.h index 126f567..c2b30a3 100644 --- a/src/declarative/extra/qfxflowview.h +++ b/src/declarative/extra/qfxflowview.h @@ -58,8 +58,8 @@ class Q_DECLARATIVE_EXPORT QFxFlowView : public QFxItem { Q_OBJECT Q_PROPERTY(QFxVisualItemModel *model READ model WRITE setModel) - Q_PROPERTY(int column READ columns WRITE setColumns); - Q_PROPERTY(bool vertical READ vertical WRITE setVertical); + Q_PROPERTY(int column READ columns WRITE setColumns) + Q_PROPERTY(bool vertical READ vertical WRITE setVertical) public: QFxFlowView(); @@ -101,7 +101,7 @@ private: QT_END_NAMESPACE -QML_DECLARE_TYPE(QFxFlowView); +QML_DECLARE_TYPE(QFxFlowView) QT_END_HEADER diff --git a/src/declarative/extra/qmlbehaviour.cpp b/src/declarative/extra/qmlbehaviour.cpp index c7ab1da..92a85b0 100644 --- a/src/declarative/extra/qmlbehaviour.cpp +++ b/src/declarative/extra/qmlbehaviour.cpp @@ -57,8 +57,8 @@ public: QmlBehaviourData(QObject *parent) : QObject(parent) {} - Q_PROPERTY(QVariant endValue READ endValue NOTIFY valuesChanged); - Q_PROPERTY(QVariant startValue READ startValue NOTIFY valuesChanged); + Q_PROPERTY(QVariant endValue READ endValue NOTIFY valuesChanged) + Q_PROPERTY(QVariant startValue READ startValue NOTIFY valuesChanged) QVariant endValue() const { return e; } QVariant startValue() const { return s; } diff --git a/src/declarative/fx/qfxgridview.cpp b/src/declarative/fx/qfxgridview.cpp index 905af3b..3c80e98 100644 --- a/src/declarative/fx/qfxgridview.cpp +++ b/src/declarative/fx/qfxgridview.cpp @@ -59,10 +59,10 @@ public: attachedProperties.remove(parent()); } - Q_PROPERTY(QFxGridView *view READ view); + Q_PROPERTY(QFxGridView *view READ view) QFxGridView *view() { return m_view; } - Q_PROPERTY(bool isCurrentItem READ isCurrentItem NOTIFY currentItemChanged); + Q_PROPERTY(bool isCurrentItem READ isCurrentItem NOTIFY currentItemChanged) bool isCurrentItem() const { return m_isCurrent; } void setIsCurrentItem(bool c) { if (m_isCurrent != c) { @@ -71,7 +71,7 @@ public: } } - Q_PROPERTY(bool delayRemove READ delayRemove WRITE setDelayRemove NOTIFY delayRemoveChanged); + Q_PROPERTY(bool delayRemove READ delayRemove WRITE setDelayRemove NOTIFY delayRemoveChanged) bool delayRemove() const { return m_delayRemove; } void setDelayRemove(bool delay) { if (m_delayRemove != delay) { diff --git a/src/declarative/fx/qfxlistview.cpp b/src/declarative/fx/qfxlistview.cpp index 351365d..50564fb 100644 --- a/src/declarative/fx/qfxlistview.cpp +++ b/src/declarative/fx/qfxlistview.cpp @@ -59,10 +59,10 @@ public: attachedProperties.remove(parent()); } - Q_PROPERTY(QFxListView *view READ view); + Q_PROPERTY(QFxListView *view READ view) QFxListView *view() { return m_view; } - Q_PROPERTY(bool isCurrentItem READ isCurrentItem NOTIFY currentItemChanged); + Q_PROPERTY(bool isCurrentItem READ isCurrentItem NOTIFY currentItemChanged) bool isCurrentItem() const { return m_isCurrent; } void setIsCurrentItem(bool c) { if (m_isCurrent != c) { @@ -71,7 +71,7 @@ public: } } - Q_PROPERTY(QString prevSection READ prevSection NOTIFY prevSectionChanged); + Q_PROPERTY(QString prevSection READ prevSection NOTIFY prevSectionChanged) QString prevSection() const { return m_prevSection; } void setPrevSection(const QString §) { if (m_prevSection != sect) { @@ -80,7 +80,7 @@ public: } } - Q_PROPERTY(QString section READ section NOTIFY sectionChanged); + Q_PROPERTY(QString section READ section NOTIFY sectionChanged) QString section() const { return m_section; } void setSection(const QString §) { if (m_section != sect) { @@ -89,7 +89,7 @@ public: } } - Q_PROPERTY(bool delayRemove READ delayRemove WRITE setDelayRemove NOTIFY delayRemoveChanged); + Q_PROPERTY(bool delayRemove READ delayRemove WRITE setDelayRemove NOTIFY delayRemoveChanged) bool delayRemove() const { return m_delayRemove; } void setDelayRemove(bool delay) { if (m_delayRemove != delay) { diff --git a/src/declarative/fx/qfxvisualitemmodel.cpp b/src/declarative/fx/qfxvisualitemmodel.cpp index eb10df3..1b15a48 100644 --- a/src/declarative/fx/qfxvisualitemmodel.cpp +++ b/src/declarative/fx/qfxvisualitemmodel.cpp @@ -160,7 +160,7 @@ Q_OBJECT public: QFxVisualItemModelData(int index, QFxVisualItemModelPrivate *model); - Q_PROPERTY(int index READ index NOTIFY indexChanged); + Q_PROPERTY(int index READ index NOTIFY indexChanged) int index() const; void setIndex(int index); |