summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-05-26 08:32:28 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-05-26 08:32:28 (GMT)
commitb29a83e5070410359ebed2d99b18f86bbe2d2939 (patch)
tree12f80963df2780d58be36d6365e2c65852ef9e83 /src/declarative/qml
parent19038ba0847d3b8ed476d8c3c1d29332d4f80677 (diff)
downloadQt-b29a83e5070410359ebed2d99b18f86bbe2d2939.zip
Qt-b29a83e5070410359ebed2d99b18f86bbe2d2939.tar.gz
Qt-b29a83e5070410359ebed2d99b18f86bbe2d2939.tar.bz2
Remove extraneous semicolons.
Caused massive number of warnings with winscw
Diffstat (limited to 'src/declarative/qml')
-rw-r--r--src/declarative/qml/qml.h14
-rw-r--r--src/declarative/qml/qmlbindablevalue.h2
-rw-r--r--src/declarative/qml/qmlcomponent.h2
-rw-r--r--src/declarative/qml/qmlpropertyvaluesource.h2
4 files changed, 10 insertions, 10 deletions
diff --git a/src/declarative/qml/qml.h b/src/declarative/qml/qml.h
index b435e94..370bb58 100644
--- a/src/declarative/qml/qml.h
+++ b/src/declarative/qml/qml.h
@@ -59,13 +59,13 @@ QT_BEGIN_NAMESPACE
QT_MODULE(Declarative)
#define QML_DECLARE_TYPE(TYPE) \
- Q_DECLARE_METATYPE(TYPE *); \
- Q_DECLARE_METATYPE(QList<TYPE *> *); \
- Q_DECLARE_METATYPE(QmlList<TYPE *> *);
+ Q_DECLARE_METATYPE(TYPE *) \
+ Q_DECLARE_METATYPE(QList<TYPE *> *) \
+ Q_DECLARE_METATYPE(QmlList<TYPE *> *)
#define QML_DECLARE_TYPE_HASMETATYPE(TYPE) \
- Q_DECLARE_METATYPE(QList<TYPE *> *); \
- Q_DECLARE_METATYPE(QmlList<TYPE *> *);
+ Q_DECLARE_METATYPE(QList<TYPE *> *) \
+ Q_DECLARE_METATYPE(QmlList<TYPE *> *)
#define QML_DECLARE_INTERFACE(INTERFACE) \
QML_DECLARE_TYPE(INTERFACE)
@@ -109,8 +109,8 @@ QObject *qmlAttachedPropertiesObject(const QObject *obj)
return qmlAttachedPropertiesObjectById(idx, obj);
}
-QML_DECLARE_TYPE(QObject);
-Q_DECLARE_METATYPE(QVariant);
+QML_DECLARE_TYPE(QObject)
+Q_DECLARE_METATYPE(QVariant)
QT_END_NAMESPACE
diff --git a/src/declarative/qml/qmlbindablevalue.h b/src/declarative/qml/qmlbindablevalue.h
index 7831177..e50c154 100644
--- a/src/declarative/qml/qmlbindablevalue.h
+++ b/src/declarative/qml/qmlbindablevalue.h
@@ -85,7 +85,7 @@ protected:
private:
Q_DECLARE_PRIVATE(QmlBindableValue)
};
-QML_DECLARE_TYPE(QmlBindableValue);
+QML_DECLARE_TYPE(QmlBindableValue)
QT_END_NAMESPACE
diff --git a/src/declarative/qml/qmlcomponent.h b/src/declarative/qml/qmlcomponent.h
index 90f7467..3369de3 100644
--- a/src/declarative/qml/qmlcomponent.h
+++ b/src/declarative/qml/qmlcomponent.h
@@ -101,7 +101,7 @@ private:
friend class QmlVME;
friend struct QmlCompositeTypeData;
};
-QML_DECLARE_TYPE(QmlComponent);
+QML_DECLARE_TYPE(QmlComponent)
QT_END_NAMESPACE
diff --git a/src/declarative/qml/qmlpropertyvaluesource.h b/src/declarative/qml/qmlpropertyvaluesource.h
index 736b25f..9cef150 100644
--- a/src/declarative/qml/qmlpropertyvaluesource.h
+++ b/src/declarative/qml/qmlpropertyvaluesource.h
@@ -69,7 +69,7 @@ protected:
private:
Q_DISABLE_COPY(QmlPropertyValueSource)
};
-QML_DECLARE_TYPE(QmlPropertyValueSource);
+QML_DECLARE_TYPE(QmlPropertyValueSource)
#endif // QMLPROPERTYVALUESOURCE_H