diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2012-08-15 22:53:10 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-18 10:55:47 +0200 |
commit | 1bf5865a4137c615e7b9b10fd157a32e2bf61274 (patch) | |
tree | 1fd6c0759acf1a2a6988f674f7d44746143d10b9 | |
parent | 94ac17c2ccbe3b3f3671848afda9430be214f8d5 (diff) |
Fix a couple of qdoc errors
Change-Id: I79f689e08ed4a496052529af38fca72c3d4e04cb
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-rw-r--r-- | src/corelib/global/qglobal.cpp | 2 | ||||
-rw-r--r-- | src/corelib/io/qdebug.cpp | 2 | ||||
-rw-r--r-- | src/corelib/io/qurl.cpp | 2 | ||||
-rw-r--r-- | src/corelib/io/qurlidna.cpp | 2 | ||||
-rw-r--r-- | src/corelib/itemmodels/qabstractitemmodel.cpp | 13 | ||||
-rw-r--r-- | src/corelib/kernel/qtranslator.cpp | 1 | ||||
-rw-r--r-- | src/corelib/tools/qchar.cpp | 2 | ||||
-rw-r--r-- | src/corelib/tools/qcollator.cpp | 5 |
8 files changed, 7 insertions, 22 deletions
diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp index 5fbded415f..7321b3b3ce 100644 --- a/src/corelib/global/qglobal.cpp +++ b/src/corelib/global/qglobal.cpp @@ -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 diff --git a/src/corelib/io/qdebug.cpp b/src/corelib/io/qdebug.cpp index 07f359672c..9cd1705997 100644 --- a/src/corelib/io/qdebug.cpp +++ b/src/corelib/io/qdebug.cpp @@ -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. diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp index 45d3924eca..5fd3dcf55b 100644 --- a/src/corelib/io/qurl.cpp +++ b/src/corelib/io/qurl.cpp @@ -2984,7 +2984,7 @@ QString QUrl::errorString() const \internal */ -/*! \fn uint qHash(const QUrl &url, uint seed = 0) +/*! \relates QHash \since 5.0 diff --git a/src/corelib/io/qurlidna.cpp b/src/corelib/io/qurlidna.cpp index 21ad1b7fca..eb7ba6d4af 100644 --- a/src/corelib/io/qurlidna.cpp +++ b/src/corelib/io/qurlidna.cpp @@ -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 diff --git a/src/corelib/itemmodels/qabstractitemmodel.cpp b/src/corelib/itemmodels/qabstractitemmodel.cpp index 87bcb6dfdc..9a630383b7 100644 --- a/src/corelib/itemmodels/qabstractitemmodel.cpp +++ b/src/corelib/itemmodels/qabstractitemmodel.cpp @@ -926,19 +926,6 @@ void QAbstractItemModelPrivate::columnsRemoved(const QModelIndex &parent, */ /*! - \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 Returns the row this model index refers to. diff --git a/src/corelib/kernel/qtranslator.cpp b/src/corelib/kernel/qtranslator.cpp index e8c913e935..045c79280c 100644 --- a/src/corelib/kernel/qtranslator.cpp +++ b/src/corelib/kernel/qtranslator.cpp @@ -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. diff --git a/src/corelib/tools/qchar.cpp b/src/corelib/tools/qchar.cpp index 7461c46d21..04f603495f 100644 --- a/src/corelib/tools/qchar.cpp +++ b/src/corelib/tools/qchar.cpp @@ -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 diff --git a/src/corelib/tools/qcollator.cpp b/src/corelib/tools/qcollator.cpp index a7a684a4d4..81906773d7 100644 --- a/src/corelib/tools/qcollator.cpp +++ b/src/corelib/tools/qcollator.cpp @@ -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 |