diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-05-26 08:32:28 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-05-26 08:32:28 (GMT) |
commit | b29a83e5070410359ebed2d99b18f86bbe2d2939 (patch) | |
tree | 12f80963df2780d58be36d6365e2c65852ef9e83 /src/declarative/widgets | |
parent | 19038ba0847d3b8ed476d8c3c1d29332d4f80677 (diff) | |
download | Qt-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/widgets')
-rw-r--r-- | src/declarative/widgets/graphicslayouts.cpp | 6 | ||||
-rw-r--r-- | src/declarative/widgets/graphicslayouts.h | 10 | ||||
-rw-r--r-- | src/declarative/widgets/graphicswidgets.h | 8 |
3 files changed, 12 insertions, 12 deletions
diff --git a/src/declarative/widgets/graphicslayouts.cpp b/src/declarative/widgets/graphicslayouts.cpp index d6c4ac2..21acbcd 100644 --- a/src/declarative/widgets/graphicslayouts.cpp +++ b/src/declarative/widgets/graphicslayouts.cpp @@ -89,7 +89,7 @@ private: Qt::Alignment _alignment; }; -QML_DEFINE_TYPE(QGraphicsLinearLayoutStretchItemObject,QGraphicsLinearLayoutStretchItem); +QML_DEFINE_TYPE(QGraphicsLinearLayoutStretchItemObject,QGraphicsLinearLayoutStretchItem) QGraphicsLinearLayoutStretchItemObject::QGraphicsLinearLayoutStretchItemObject(QObject *parent) : QObject(parent) @@ -103,7 +103,7 @@ QSizeF QGraphicsLinearLayoutStretchItemObject::sizeHint(Qt::SizeHint which, cons return QSizeF(); } -QML_DEFINE_TYPE(QGraphicsLinearLayoutObject,QGraphicsLinearLayout); +QML_DEFINE_TYPE(QGraphicsLinearLayoutObject,QGraphicsLinearLayout) QGraphicsLinearLayoutObject::QGraphicsLinearLayoutObject(QObject *parent) : QObject(parent), _children(this) @@ -246,7 +246,7 @@ private: Qt::Alignment _alignment; }; -QML_DEFINE_TYPE(QGraphicsGridLayoutObject,QGraphicsGridLayout); +QML_DEFINE_TYPE(QGraphicsGridLayoutObject,QGraphicsGridLayout) QGraphicsGridLayoutObject::QGraphicsGridLayoutObject(QObject *parent) diff --git a/src/declarative/widgets/graphicslayouts.h b/src/declarative/widgets/graphicslayouts.h index e9930f1..303f749 100644 --- a/src/declarative/widgets/graphicslayouts.h +++ b/src/declarative/widgets/graphicslayouts.h @@ -52,8 +52,8 @@ QT_BEGIN_NAMESPACE QT_MODULE(Declarative) -QML_DECLARE_INTERFACE(QGraphicsLayoutItem); -QML_DECLARE_INTERFACE(QGraphicsLayout); +QML_DECLARE_INTERFACE(QGraphicsLayoutItem) +QML_DECLARE_INTERFACE(QGraphicsLayout) class QGraphicsLinearLayoutStretchItemObject : public QObject, public QGraphicsLayoutItem { @@ -64,7 +64,7 @@ public: virtual QSizeF sizeHint(Qt::SizeHint, const QSizeF &) const; }; -QML_DECLARE_TYPE(QGraphicsLinearLayoutStretchItemObject); +QML_DECLARE_TYPE(QGraphicsLinearLayoutStretchItemObject) //TODO: // -content margins @@ -120,7 +120,7 @@ private: ChildList _children; }; -QML_DECLARE_TYPE(QGraphicsLinearLayoutObject); +QML_DECLARE_TYPE(QGraphicsLinearLayoutObject) //TODO: // -content margins @@ -181,7 +181,7 @@ private: ChildList _children; }; -QML_DECLARE_TYPE(QGraphicsGridLayoutObject); +QML_DECLARE_TYPE(QGraphicsGridLayoutObject) #endif // GRAPHICSLAYOUTS_H diff --git a/src/declarative/widgets/graphicswidgets.h b/src/declarative/widgets/graphicswidgets.h index cec15b6..e29f1d6 100644 --- a/src/declarative/widgets/graphicswidgets.h +++ b/src/declarative/widgets/graphicswidgets.h @@ -50,10 +50,10 @@ QT_BEGIN_NAMESPACE -QML_DECLARE_TYPE(QGraphicsView); -QML_DECLARE_TYPE_HASMETATYPE(QGraphicsScene); -QML_DECLARE_TYPE(QGraphicsWidget); -QML_DECLARE_INTERFACE_HASMETATYPE(QGraphicsItem); +QML_DECLARE_TYPE(QGraphicsView) +QML_DECLARE_TYPE_HASMETATYPE(QGraphicsScene) +QML_DECLARE_TYPE(QGraphicsWidget) +QML_DECLARE_INTERFACE_HASMETATYPE(QGraphicsItem) QT_END_NAMESPACE |