diff options
author | Ahmad Samir <a.samirh78@gmail.com> | 2020-09-18 22:02:10 +0200 |
---|---|---|
committer | Ahmad Samir <a.samirh78@gmail.com> | 2020-09-18 23:52:15 +0200 |
commit | 340b60ea2b106c04052fb541e7f8f666264acaad (patch) | |
tree | c22e9634c9759c3b5c8591068a598aeb5a859fb7 /src/corelib/io | |
parent | 107ff4c1d6b5da2cb11c65b2bd9106817f7fdb02 (diff) |
QDir: Use QDoc syntax
Replace Note/Note: with \note.
Change-Id: I9a4cd79836fced9d858a478304a03e6c4bccfed5
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/corelib/io')
-rw-r--r-- | src/corelib/io/qdir.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/corelib/io/qdir.cpp b/src/corelib/io/qdir.cpp index d70ab3c7fe..b774f87dc5 100644 --- a/src/corelib/io/qdir.cpp +++ b/src/corelib/io/qdir.cpp @@ -583,7 +583,7 @@ QDir::QDir(const QString &path) : d_ptr(new QDirPrivate(path)) directory). If \a nameFilter is an empty string, QDir uses the name filter "*" (all files). - Note that \a path need not exist. + \note \a path need not exist. \sa exists(), setPath(), setNameFilters(), setFilter(), setSorting() */ @@ -1578,7 +1578,7 @@ bool QDir::rmpath(const QString &dirPath) const If the directory was already removed, the method returns \c true (expected result already reached). - Note: this function is meant for removing a small application-internal + \note This function is meant for removing a small application-internal directory (such as a temporary directory), but not user-visible directories. For user-visible operations, it is rather recommended to report errors more precisely to the user, to offer solutions @@ -1668,7 +1668,7 @@ bool QDir::exists() const Returns \c true if the directory is the root directory; otherwise returns \c false. - Note: If the directory is a symbolic link to the root directory + \note If the directory is a symbolic link to the root directory this function returns \c false. If you want to test for this use canonicalPath(), e.g. @@ -2402,7 +2402,7 @@ QStringList QDir::nameFiltersFromString(const QString &nameFilter) If the file name contains characters that cannot be part of a valid C++ function name (such as '-'), they have to be replaced by the underscore character ('_'). - Note: This macro cannot be used in a namespace. It should be called from + \note This macro cannot be used in a namespace. It should be called from main(). If that is not possible, the following workaround can be used to init the resource \c myapp from the function \c{MyNamespace::myFunction}: @@ -2424,7 +2424,7 @@ QStringList QDir::nameFiltersFromString(const QString &nameFilter) plugin that is being unloaded, call Q_CLEANUP_RESOURCE() to force removal of your resources. - Note: This macro cannot be used in a namespace. Please see the + \note This macro cannot be used in a namespace. Please see the Q_INIT_RESOURCE documentation for a workaround. Example: @@ -2531,7 +2531,7 @@ QDebug operator<<(QDebug debug, const QDir &dir) directory). If \a nameFilter is an empty string, QDir uses the name filter "*" (all files). - Note that \a path need not exist. + \note \a path need not exist. \sa exists(), setPath(), setNameFilters(), setFilter(), setSorting() */ |