doc: Correct remaining qdoc warnings in a few files
Added missing template clause to \fn commands required by clang-qdoc in qsharedpointer.cpp, qscopedpointer.cpp, and qstringbuilder.cpp. Change-Id: Ifca5b81db96e678a53e40080d351c69f14db604a Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
This commit is contained in:
parent
698fa094b3
commit
d72705c96d
@ -146,7 +146,7 @@ QT_BEGIN_NAMESPACE
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\fn template <typename T, typename Cleanup> T *QScopedPointer::get() const
|
\fn template <typename T, typename Cleanup> T *QScopedPointer<T, Cleanup>::get() const
|
||||||
\since 5.11
|
\since 5.11
|
||||||
|
|
||||||
Same as data().
|
Same as data().
|
||||||
|
@ -581,7 +581,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\fn T *QSharedPointer::get() const
|
\fn template <class T> T *QSharedPointer<T>::get() const
|
||||||
\since 5.11
|
\since 5.11
|
||||||
|
|
||||||
Same as data().
|
Same as data().
|
||||||
|
@ -96,11 +96,11 @@ QT_BEGIN_NAMESPACE
|
|||||||
\sa QLatin1String, QString
|
\sa QLatin1String, QString
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*! \fn QStringBuilder::QStringBuilder(const A &a, const B &b)
|
/*! \fn template <typename A, typename B> QStringBuilder<A, B>::QStringBuilder(const A &a, const B &b)
|
||||||
Constructs a QStringBuilder from \a a and \a b.
|
Constructs a QStringBuilder from \a a and \a b.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* \fn QStringBuilder::operator%(const A &a, const B &b)
|
/* \fn template <typename A, typename B> QStringBuilder<A, B>::operator%(const A &a, const B &b)
|
||||||
|
|
||||||
Returns a \c QStringBuilder object that is converted to a QString object
|
Returns a \c QStringBuilder object that is converted to a QString object
|
||||||
when assigned to a variable of QString type or passed to a function that
|
when assigned to a variable of QString type or passed to a function that
|
||||||
@ -111,12 +111,12 @@ QT_BEGIN_NAMESPACE
|
|||||||
\c QChar, \c QCharRef, \c QLatin1Char, and \c char.
|
\c QChar, \c QCharRef, \c QLatin1Char, and \c char.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* \fn QByteArray QStringBuilder::toLatin1() const
|
/* \fn template <typename A, typename B> QByteArray QStringBuilder<A, B>::toLatin1() const
|
||||||
Returns a Latin-1 representation of the string as a QByteArray. The
|
Returns a Latin-1 representation of the string as a QByteArray. The
|
||||||
returned byte array is undefined if the string contains non-Latin1
|
returned byte array is undefined if the string contains non-Latin1
|
||||||
characters.
|
characters.
|
||||||
*/
|
*/
|
||||||
/* \fn QByteArray QStringBuilder::toUtf8() const
|
/* \fn template <typename A, typename B> QByteArray QStringBuilder<A, B>::toUtf8() const
|
||||||
Returns a UTF-8 representation of the string as a QByteArray.
|
Returns a UTF-8 representation of the string as a QByteArray.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user