summaryrefslogtreecommitdiffstats
path: root/src/declarative/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/widgets')
-rw-r--r--src/declarative/widgets/graphicslayouts.cpp6
-rw-r--r--src/declarative/widgets/graphicslayouts.h10
-rw-r--r--src/declarative/widgets/graphicswidgets.h8
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