Fix qdoc erros in qfile and related classes

Change-Id: I56b66e6eeb06c84e1157a701a814aebb1ddf4845
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Lars Knoll 2012-08-16 10:20:50 +02:00 committed by Qt by Nokia
parent 1ef74a763a
commit b963bd4e59
5 changed files with 8 additions and 9 deletions

View File

@ -501,7 +501,7 @@ inline void QDirPrivate::initFileEngine()
\snippet qdir-listfiles/main.cpp 0
\sa QFileInfo, QFile, QFileDialog, QApplication::applicationDirPath(), {Find Files Example}
\sa QFileInfo, QFile, QFileDialog, QCoreApplication::applicationDirPath(), {Find Files Example}
*/
/*!
@ -537,7 +537,7 @@ QDir::QDir(const QString &path) : d_ptr(new QDirPrivate(path))
Note that \a path need not exist.
\sa exists(), setPath(), setNameFilter(), setFilter(), setSorting()
\sa exists(), setPath(), setNameFilters(), setFilter(), setSorting()
*/
QDir::QDir(const QString &path, const QString &nameFilter,
SortFlags sort, Filters filters)

View File

@ -67,10 +67,7 @@
you cannot iterate directories in reverse order) and does not allow random
access.
QDirIterator works with all supported file engines, and is implemented
using QAbstractFileEngineIterator.
\sa QDir, QDir::entryList(), QAbstractFileEngineIterator
\sa QDir, QDir::entryList()
*/
/*! \enum QDirIterator::IteratorFlag

View File

@ -871,7 +871,7 @@ bool QFile::open(OpenMode mode)
\note For Windows CE you may not be able to call resize().
\sa close(), {qmake Variable Reference#CONFIG}{qmake Variable Reference}
\sa close()
\b{Note for the Windows Platform}

View File

@ -699,7 +699,7 @@ QString QFileInfo::filePath() const
Note that, if this QFileInfo object is given a path ending in a
slash, the name of the file is considered empty.
\sa isRelative(), filePath(), baseName(), extension()
\sa isRelative(), filePath(), baseName(), suffix()
*/
QString QFileInfo::fileName() const
{
@ -719,7 +719,7 @@ QString QFileInfo::fileName() const
Example:
\snippet code/src_corelib_io_qfileinfo.cpp 4
\sa isBundle(), filePath(), baseName(), extension()
\sa isBundle(), filePath(), baseName(), suffix()
*/
QString QFileInfo::bundleName() const
{

View File

@ -286,6 +286,8 @@ void QTemporaryDir::setAutoRemove(bool b)
/*!
Removes the temporary directory, including all its contents.
Returns true if removing was successful.
*/
bool QTemporaryDir::remove()
{