summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmllistmodel.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-05-27 00:30:44 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-05-27 00:30:44 (GMT)
commit861f0fcd140232e8fe94122d640ab69a7c116663 (patch)
tree6bd2201944cb178b2315718f5158a2f6b2c3b717 /src/declarative/util/qmllistmodel.cpp
parentd15db788de792815a35547059921d3305d48c119 (diff)
downloadQt-861f0fcd140232e8fe94122d640ab69a7c116663.zip
Qt-861f0fcd140232e8fe94122d640ab69a7c116663.tar.gz
Qt-861f0fcd140232e8fe94122d640ab69a7c116663.tar.bz2
Remove more unneeded semicolons.
Diffstat (limited to 'src/declarative/util/qmllistmodel.cpp')
-rw-r--r--src/declarative/util/qmllistmodel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/util/qmllistmodel.cpp b/src/declarative/util/qmllistmodel.cpp
index 5dc3fda..cc85661 100644
--- a/src/declarative/util/qmllistmodel.cpp
+++ b/src/declarative/util/qmllistmodel.cpp
@@ -67,7 +67,7 @@ struct ListModelData
ListInstruction *instructions() const { return (ListInstruction *)((char *)this + sizeof(ListModelData)); }
};
-Q_DECLARE_METATYPE(QListModelInterface *);
+Q_DECLARE_METATYPE(QListModelInterface *)
/*!
\qmlclass ListModel
@@ -178,7 +178,7 @@ public:
virtual QList<int> roles() const;
virtual QString toString(int role) const;
- Q_PROPERTY(int count READ count);
+ Q_PROPERTY(int count READ count)
virtual int count() const;
virtual QHash<int,QVariant> data(int index, const QList<int> &roles = (QList<int>())) const;
@@ -243,7 +243,7 @@ struct ModelNode
ListModel *modelCache;
ModelObject *objectCache;
};
-Q_DECLARE_METATYPE(ModelNode *);
+Q_DECLARE_METATYPE(ModelNode *)
ModelObject::ModelObject(ModelNode *node)
: _node(node), _haveProperties(false), _mo(new QmlOpenMetaObject(this))