QTemporaryFile: de-duplicate docs wrt. file actually created on open
Change-Id: I64f87a8054d732d006599479bd6cca1be217700c Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 88b7a043cf91d8730331eb43523f1d06cae365b6) Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
parent
267a559fa5
commit
4865577518
@ -657,9 +657,12 @@ QTemporaryFile::QTemporaryFile()
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
Constructs a QTemporaryFile with a template filename of \a
|
Constructs a QTemporaryFile with \a templateName as the file name template.
|
||||||
templateName. Upon opening the temporary file this will be used to create
|
|
||||||
|
//! [file-created-on-open]
|
||||||
|
Upon opening the temporary file, \a templateName will be used to create
|
||||||
a unique filename.
|
a unique filename.
|
||||||
|
//! [file-created-on-open]
|
||||||
|
|
||||||
//! [dynamic-part-of-filename]
|
//! [dynamic-part-of-filename]
|
||||||
If \a templateName doesn't contain \c {"XXXXXX"}, it will be added
|
If \a templateName doesn't contain \c {"XXXXXX"}, it will be added
|
||||||
@ -694,10 +697,10 @@ QTemporaryFile::QTemporaryFile(QObject *parent)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
Constructs a QTemporaryFile with a template filename of \a
|
Constructs a QTemporaryFile with the specified \a parent, and
|
||||||
templateName and the specified \a parent.
|
\a templateName as the file name template.
|
||||||
Upon opening the temporary file this will be used to
|
|
||||||
create a unique filename.
|
\include qtemporaryfile.cpp file-created-on-open
|
||||||
|
|
||||||
\include qtemporaryfile.cpp dynamic-part-of-filename
|
\include qtemporaryfile.cpp dynamic-part-of-filename
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user