doc: Add a few missing const keywords in \fn commands

This adds "const" to a few \fn commands for new operators
in QHash and QMap.

Change-Id: I93cf7aaf88fcb4db17de5810b555b978e8119e20
Task-number: QTBUG-47669
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
bb10
Martin Smith 2015-08-07 13:46:57 +02:00
parent 330da82cc2
commit 89302b8b88
2 changed files with 4 additions and 4 deletions

View File

@ -2240,7 +2240,7 @@ uint qHash(long double key, uint seed) Q_DECL_NOTHROW
Returns a pointer to the current item's key.
*/
/*! \fn bool QHash::key_iterator::operator==(key_iterator other)
/*! \fn bool QHash::key_iterator::operator==(key_iterator other) const
Returns \c true if \a other points to the same item as this
iterator; otherwise returns \c false.
@ -2248,7 +2248,7 @@ uint qHash(long double key, uint seed) Q_DECL_NOTHROW
\sa operator!=()
*/
/*! \fn bool QHash::key_iterator::operator!=(key_iterator other)
/*! \fn bool QHash::key_iterator::operator!=(key_iterator other) const
Returns \c true if \a other points to a different item than this
iterator; otherwise returns \c false.

View File

@ -1719,7 +1719,7 @@ void QMapDataBase::freeData(QMapDataBase *d)
Returns a pointer to the current item's key.
*/
/*! \fn bool QMap::key_iterator::operator==(key_iterator other)
/*! \fn bool QMap::key_iterator::operator==(key_iterator other) const
Returns \c true if \a other points to the same item as this
iterator; otherwise returns \c false.
@ -1727,7 +1727,7 @@ void QMapDataBase::freeData(QMapDataBase *d)
\sa operator!=()
*/
/*! \fn bool QMap::key_iterator::operator!=(key_iterator other)
/*! \fn bool QMap::key_iterator::operator!=(key_iterator other) const
Returns \c true if \a other points to a different item than this
iterator; otherwise returns \c false.