summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-07-14 06:33:07 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-07-14 06:33:07 (GMT)
commit8ea9cf839ed2bc5cd8a152fc6f10400e24242924 (patch)
tree42b7be711ade7c83f94c465406be720bf1714a20 /src/declarative
parentbf0cfe31094cd965abb73dab0611c9d3646c2bfb (diff)
downloadQt-8ea9cf839ed2bc5cd8a152fc6f10400e24242924.zip
Qt-8ea9cf839ed2bc5cd8a152fc6f10400e24242924.tar.gz
Qt-8ea9cf839ed2bc5cd8a152fc6f10400e24242924.tar.bz2
Remove unnecessary semicolons
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/extra/qfxflowview.cpp4
-rw-r--r--src/declarative/extra/qfxflowview.h6
-rw-r--r--src/declarative/extra/qmlbehaviour.cpp4
-rw-r--r--src/declarative/fx/qfxgridview.cpp6
-rw-r--r--src/declarative/fx/qfxlistview.cpp10
-rw-r--r--src/declarative/fx/qfxvisualitemmodel.cpp2
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 4165d56..f2d5e9a 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 11b630a..a43e84c 100644
--- a/src/declarative/fx/qfxgridview.cpp
+++ b/src/declarative/fx/qfxgridview.cpp
@@ -57,10 +57,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) {
@@ -69,7 +69,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 889cfdd..8b39773 100644
--- a/src/declarative/fx/qfxlistview.cpp
+++ b/src/declarative/fx/qfxlistview.cpp
@@ -58,10 +58,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) {
@@ -70,7 +70,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 &sect) {
if (m_prevSection != sect) {
@@ -79,7 +79,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 &sect) {
if (m_section != sect) {
@@ -88,7 +88,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 d3ab4cc..0682294 100644
--- a/src/declarative/fx/qfxvisualitemmodel.cpp
+++ b/src/declarative/fx/qfxvisualitemmodel.cpp
@@ -159,7 +159,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);