diff --git a/src/corelib/io/qtemporarydir.cpp b/src/corelib/io/qtemporarydir.cpp index 81875240677..490ad595d43 100644 --- a/src/corelib/io/qtemporarydir.cpp +++ b/src/corelib/io/qtemporarydir.cpp @@ -239,6 +239,14 @@ QString QTemporaryDir::errorString() const /*! Returns the path to the temporary directory. Empty if the QTemporaryDir could not be created. + +//! [relative-or-absolute-path] + The returned path will be relative or absolulte depending on whether + QTemporaryDir was constructed with a relative or absolute path, + respectively. +//! [relative-or-absolute-path] + + */ QString QTemporaryDir::path() const { @@ -253,6 +261,8 @@ QString QTemporaryDir::path() const Redundant multiple separators or "." and ".." directories in \a fileName are not removed (see QDir::cleanPath()). Absolute paths are not allowed. + + \include qtemporarydir.cpp relative-or-absolute-path */ QString QTemporaryDir::filePath(const QString &fileName) const {