summaryrefslogtreecommitdiffstats
path: root/src/location/qgeoshape.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/qgeoshape.h')
-rw-r--r--src/location/qgeoshape.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/location/qgeoshape.h b/src/location/qgeoshape.h
index 28a87ae3..9dc8f046 100644
--- a/src/location/qgeoshape.h
+++ b/src/location/qgeoshape.h
@@ -49,6 +49,7 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
+class QDebug;
class QGeoShapePrivate;
class Q_LOCATION_EXPORT QGeoShape
@@ -85,6 +86,17 @@ private:
inline const QGeoShapePrivate *d_func() const;
};
+Q_DECLARE_TYPEINFO(QGeoShape, Q_MOVABLE_TYPE);
+
+#ifndef QT_NO_DEBUG_STREAM
+Q_LOCATION_EXPORT QDebug operator<<(QDebug, const QGeoShape &);
+#endif
+
+#ifndef QT_NO_DATASTREAM
+Q_LOCATION_EXPORT QDataStream &operator<<(QDataStream &stream, const QGeoShape &shape);
+Q_LOCATION_EXPORT QDataStream &operator>>(QDataStream &stream, QGeoShape &shape);
+#endif
+
QT_END_NAMESPACE
Q_DECLARE_METATYPE(QGeoShape)