Add a note for Document::saveAs()
device will be closed by this function.
This commit is contained in:
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user