qtmobility/src/location/qgeosatelliteinfo.h
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
child 11 06b8e2af4411
--- a/qtmobility/src/location/qgeosatelliteinfo.h	Fri Apr 16 15:51:22 2010 +0300
+++ b/qtmobility/src/location/qgeosatelliteinfo.h	Mon May 03 13:18:40 2010 +0300
@@ -45,6 +45,7 @@
 
 QT_BEGIN_NAMESPACE
 class QDebug;
+class QDataStream;
 QT_END_NAMESPACE
 
 QT_BEGIN_HEADER
@@ -87,6 +88,10 @@
 #ifndef QT_NO_DEBUG_STREAM
     friend Q_LOCATION_EXPORT QDebug operator<<(QDebug dbg, const QGeoSatelliteInfo &info);
 #endif
+#ifndef QT_NO_DATASTREAM
+    friend Q_LOCATION_EXPORT QDataStream &operator<<(QDataStream &stream, const QGeoSatelliteInfo &info);
+    friend Q_LOCATION_EXPORT QDataStream &operator>>(QDataStream &stream, QGeoSatelliteInfo &info);
+#endif
     QGeoSatelliteInfoPrivate *d;
 };
 
@@ -94,6 +99,11 @@
 Q_LOCATION_EXPORT QDebug operator<<(QDebug dbg, const QGeoSatelliteInfo &info);
 #endif
 
+#ifndef QT_NO_DATASTREAM
+Q_LOCATION_EXPORT QDataStream &operator<<(QDataStream &stream, const QGeoSatelliteInfo &info);
+Q_LOCATION_EXPORT QDataStream &operator>>(QDataStream &stream, QGeoSatelliteInfo &info);
+#endif
+
 QTM_END_NAMESPACE
 
 QT_END_HEADER