Add a note for Document::saveAs()

device will be closed by this function.
This commit is contained in:
Debao Zhang
2014-11-07 09:59:25 +08:00
parent 4b1aa2bb27
commit 9f7b6d4c45
+2
View File
@@ -1026,6 +1026,8 @@ bool Document::saveAs(const QString &name) const
/*! /*!
* \overload * \overload
* This function writes a document to the given \a device. * This function writes a document to the given \a device.
*
* \warning The \a device will be closed when this function returned.
*/ */
bool Document::saveAs(QIODevice *device) const bool Document::saveAs(QIODevice *device) const
{ {