summaryrefslogtreecommitdiffstats
path: root/src/corelib/serialization/qdatastream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/serialization/qdatastream.cpp')
-rw-r--r--src/corelib/serialization/qdatastream.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/corelib/serialization/qdatastream.cpp b/src/corelib/serialization/qdatastream.cpp
index 8377cba4ec8..1a1f66a372f 100644
--- a/src/corelib/serialization/qdatastream.cpp
+++ b/src/corelib/serialization/qdatastream.cpp
@@ -1412,6 +1412,13 @@ QDataStream &operator<<(QDataStream &out, QChar chr)
}
/*!
+ \fn QDataStream::operator bool() const
+ \since 6.10
+
+ Returns whether this stream has no errors (status() == \l{OK}).
+*/
+
+/*!
Writes the length specifier \a len and the buffer \a s to the
stream and returns a reference to the stream.