Fix a couple of qdoc errors

Change-Id: I79f689e08ed4a496052529af38fca72c3d4e04cb
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Lars Knoll 2012-08-15 22:53:10 +02:00 committed by Qt by Nokia
parent 94ac17c2cc
commit 1bf5865a41
8 changed files with 7 additions and 22 deletions

View File

@ -3121,7 +3121,7 @@ bool QInternal::activateCallbacks(Callback cb, void **parameters)
semantics) or to
\code
try { expr; } catch(...) { qTerminate(); }
\endocde
\endcode
otherwise.
Since this macro expands to just \c expr if the compiler supports

View File

@ -162,7 +162,7 @@
*/
/*!
\fn bool QDebug::autoInsertSpaces()
\fn bool QDebug::autoInsertSpaces() const
Returns true if this QDebug instance will automatically insert spaces
between writes.

View File

@ -2984,7 +2984,7 @@ QString QUrl::errorString() const
\internal
*/
/*! \fn uint qHash(const QUrl &url, uint seed = 0)
/*!
\relates QHash
\since 5.0

View File

@ -2574,7 +2574,7 @@ QStringList QUrl::idnWhitelist()
Sets the whitelist of Top-Level Domains (TLDs) that are allowed to have
non-ASCII characters in domains to the value of \a list.
Note that if you call this function, you need to do so \em before
Note that if you call this function, you need to do so \e before
you start any threads that might access idnWhitelist().
Qt has comes a default list that contains the Internet top-level domains

View File

@ -925,19 +925,6 @@ void QAbstractItemModelPrivate::columnsRemoved(const QModelIndex &parent,
pointing to some \a data.
*/
/*!
\fn QModelIndex::QModelIndex(const QModelIndex &other)
Creates a new model index that is a copy of the \a other model
index.
*/
/*!
\fn QModelIndex::~QModelIndex()
Destroys the model index.
*/
/*!
\fn int QModelIndex::row() const

View File

@ -731,7 +731,6 @@ bool QTranslator::load(const QLocale & locale,
/*!
\overload load()
\fn bool QTranslator::load(const uchar *data, int len)
Loads the QM file data \a data of length \a len into the
translator.

View File

@ -783,7 +783,7 @@ bool QT_FASTCALL QChar::isLetterOrNumber_helper(uint ucs4)
*/
/*!
\fn static bool isNonCharacter(uint ucs4)
\fn static bool QChar::isNonCharacter(uint ucs4)
\overload
\since 5.0

View File

@ -139,7 +139,7 @@ static const char * const collationStrings[collationStringsCount] = {
specified the default collation algorithm for the locale is being used. If
\a locale is not specified QLocale::default() is being used.
\sa setLocale setCollation setOptions
\sa setLocale, setCollation, setOptions
*/
QCollator::QCollator(const QLocale &locale, QCollator::Collation collation)
: d(new QCollatorPrivate)
@ -243,7 +243,7 @@ QLocale QCollator::locale() const
}
/*!
\enum QCollator::collation
\enum QCollator::Collation
This enum can be used to specify an alternate collation algorithm to be used instead
of the default algorithm for the locale.
@ -252,7 +252,6 @@ QLocale QCollator::locale() const
\value Default Use the default algorithm for the locale
\value Big5Han
\value Dictionary
\value Direct
\value GB2312Han
\value PhoneBook