summaryrefslogtreecommitdiffstats
path: root/src/declarative/widgets/graphicslayouts.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/widgets/graphicslayouts.h')
-rw-r--r--src/declarative/widgets/graphicslayouts.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/declarative/widgets/graphicslayouts.h b/src/declarative/widgets/graphicslayouts.h
index 303f749..ab8ad90 100644
--- a/src/declarative/widgets/graphicslayouts.h
+++ b/src/declarative/widgets/graphicslayouts.h
@@ -52,9 +52,6 @@ QT_BEGIN_NAMESPACE
QT_MODULE(Declarative)
-QML_DECLARE_INTERFACE(QGraphicsLayoutItem)
-QML_DECLARE_INTERFACE(QGraphicsLayout)
-
class QGraphicsLinearLayoutStretchItemObject : public QObject, public QGraphicsLayoutItem
{
Q_OBJECT
@@ -64,7 +61,6 @@ public:
virtual QSizeF sizeHint(Qt::SizeHint, const QSizeF &) const;
};
-QML_DECLARE_TYPE(QGraphicsLinearLayoutStretchItemObject)
//TODO:
// -content margins
@@ -120,7 +116,6 @@ private:
ChildList _children;
};
-QML_DECLARE_TYPE(QGraphicsLinearLayoutObject)
//TODO:
// -content margins
@@ -181,10 +176,15 @@ private:
ChildList _children;
};
-QML_DECLARE_TYPE(QGraphicsGridLayoutObject)
-
-#endif // GRAPHICSLAYOUTS_H
QT_END_NAMESPACE
+QML_DECLARE_INTERFACE(QGraphicsLayoutItem)
+QML_DECLARE_INTERFACE(QGraphicsLayout)
+QML_DECLARE_TYPE(QGraphicsLinearLayoutStretchItemObject)
+QML_DECLARE_TYPE(QGraphicsLinearLayoutObject)
+QML_DECLARE_TYPE(QGraphicsGridLayoutObject)
+
QT_END_HEADER
+
+#endif // GRAPHICSLAYOUTS_H