Doc: Settle on 'function' instead of 'method' in QMAC documentation
Function is the more popular term in the documentation. Method is also a tad confusing, because QCryptographicHash calls the algorithm 'method'. Pick-to: 6.6 Change-Id: I9922f837b04311a4ef45e1c6de6b8e12a32e4f1e Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
This commit is contained in:
parent
7a9bc220c7
commit
b831693365
@ -1507,7 +1507,7 @@ QMessageAuthenticationCode::~QMessageAuthenticationCode()
|
||||
*/
|
||||
|
||||
/*!
|
||||
Resets message data. Calling this method doesn't affect the key.
|
||||
Resets message data. Calling this function doesn't affect the key.
|
||||
*/
|
||||
void QMessageAuthenticationCode::reset() noexcept
|
||||
{
|
||||
@ -1516,9 +1516,9 @@ void QMessageAuthenticationCode::reset() noexcept
|
||||
}
|
||||
|
||||
/*!
|
||||
Sets secret \a key. Calling this method automatically resets the object state.
|
||||
Sets secret \a key. Calling this function automatically resets the object state.
|
||||
|
||||
For optimal performance, call this method only to \e change the active key,
|
||||
For optimal performance, call this function only to \e change the active key,
|
||||
not to set an \e initial key, as in
|
||||
|
||||
\code
|
||||
|
Loading…
x
Reference in New Issue
Block a user