Fix some qdoc warnings

src/network/ssl/qsslsocket.cpp:1501: (qdoc) warning: Can't link to 'QSslConfiguration::defaultCaCertificates()'
src/network/ssl/qsslsocket.cpp:1482: (qdoc) warning: Can't link to 'QSslConfiguration::defaultCaCertificates()'
src/network/ssl/qsslsocket.cpp:1513: (qdoc) warning: Can't link to 'QSslConfiguration::defaultCaCertificates()'
src/network/ssl/qsslsocket.cpp:1119: (qdoc) warning: Can't link to 'QSslConfiguration::setDefaultCiphers()'
src/network/ssl/qsslsocket.cpp:1119: (qdoc) warning: Can't link to 'QSslConfiguration::defaultCiphers()'
src/gui/opengl/qopengltexture.cpp:4137: (qdoc) warning: Can't link to 'setComparisonFunction()'
src/widgets/dialogs/qfilesystemmodel.cpp:1215: (qdoc) warning: Undocumented return value (hint: use 'return' or 'returns' in the text
src/widgets/graphicsview/qgraphicswidget.cpp:1229: (qdoc) warning: Undocumented return value (hint: use 'return' or 'returns' in the text
src/widgets/graphicsview/qgraphicsscene.cpp:3313: (qdoc) warning: Undocumented return value (hint: use 'return' or 'returns' in the text
src/gui/painting/qpaintengine_raster.cpp:3438: (qdoc) warning: Undocumented return value (hint: use 'return' or 'returns' in the text
src/widgets/widgets/qtextedit.cpp:2544: (qdoc) warning: Overrides a previous doc
src/widgets/widgets/qplaintextedit.cpp:2932: (qdoc) warning: (The previous doc is here)

Change-Id: I0c68c59a87eb6a5d9e974f857af6aca0c6e0672d
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
Friedemann Kleint 2019-03-15 13:27:44 +01:00
parent c306663990
commit 4554fa7b19
7 changed files with 16 additions and 7 deletions

View File

@ -4114,7 +4114,7 @@ QOpenGLTexture::DepthStencilMode QOpenGLTexture::depthStencilMode() const
*/ */
/* /*!
\since 5.5 \since 5.5
Sets the texture comparison function on this texture to \a function. The texture Sets the texture comparison function on this texture to \a function. The texture

View File

@ -3436,7 +3436,7 @@ bool QRasterPaintEngine::requiresPretransformedGlyphPositions(QFontEngine *fontE
} }
/*! /*!
Indicates whether glyph caching is supported by the font engine Returns whether glyph caching is supported by the font engine
\a fontEngine with the given transform \a m applied. \a fontEngine with the given transform \a m applied.
*/ */
bool QRasterPaintEngine::shouldDrawCachedGlyphs(QFontEngine *fontEngine, const QTransform &m) const bool QRasterPaintEngine::shouldDrawCachedGlyphs(QFontEngine *fontEngine, const QTransform &m) const

View File

@ -1128,8 +1128,8 @@ QList<QSslCertificate> QSslSocket::peerCertificateChain() const
handshake phase begins. handshake phase begins.
\sa QSslConfiguration::ciphers(), QSslConfiguration::setCiphers(), \sa QSslConfiguration::ciphers(), QSslConfiguration::setCiphers(),
QSslConfiguration::setDefaultCiphers(), QSslConfiguration::setCiphers(),
QSslConfiguration::defaultCiphers(), QSslConfiguration::ciphers(),
QSslConfiguration::supportedCiphers() QSslConfiguration::supportedCiphers()
*/ */
QSslCipher QSslSocket::sessionCipher() const QSslCipher QSslSocket::sessionCipher() const
@ -1489,7 +1489,7 @@ QList<QSslCertificate> QSslSocket::caCertificates() const
Each SSL socket's CA certificate database is initialized to the Each SSL socket's CA certificate database is initialized to the
default CA certificate database. default CA certificate database.
\sa QSslConfiguration::defaultCaCertificates(), addCaCertificates(), \sa QSslConfiguration::caCertificates(), addCaCertificates(),
addDefaultCaCertificate() addDefaultCaCertificate()
*/ */
bool QSslSocket::addDefaultCaCertificates(const QString &path, QSsl::EncodingFormat encoding, bool QSslSocket::addDefaultCaCertificates(const QString &path, QSsl::EncodingFormat encoding,
@ -1515,7 +1515,7 @@ void QSslSocket::addDefaultCaCertificate(const QSslCertificate &certificate)
SSL socket's CA certificate database is initialized to the default SSL socket's CA certificate database is initialized to the default
CA certificate database. CA certificate database.
\sa QSslConfiguration::defaultCaCertificates(), addCaCertificates() \sa QSslConfiguration::caCertificates(), addCaCertificates()
*/ */
void QSslSocket::addDefaultCaCertificates(const QList<QSslCertificate> &certificates) void QSslSocket::addDefaultCaCertificates(const QList<QSslCertificate> &certificates)
{ {

View File

@ -3324,6 +3324,9 @@ void QGraphicsScene::advance()
\l{QWidget::}{enterEvent()} and \l{QWidget::}{leaveEvent()}. Use this \l{QWidget::}{enterEvent()} and \l{QWidget::}{leaveEvent()}. Use this
function to obtain those events instead. function to obtain those events instead.
Returns \c true if \a event has been recognized and processed; otherwise,
returns \c false.
\sa contextMenuEvent(), keyPressEvent(), keyReleaseEvent(), \sa contextMenuEvent(), keyPressEvent(), keyReleaseEvent(),
mousePressEvent(), mouseMoveEvent(), mouseReleaseEvent(), mousePressEvent(), mouseMoveEvent(), mouseReleaseEvent(),
mouseDoubleClickEvent(), focusInEvent(), focusOutEvent() mouseDoubleClickEvent(), focusInEvent(), focusOutEvent()

View File

@ -1232,6 +1232,9 @@ QVariant QGraphicsWidget::propertyChange(const QString &propertyName, const QVar
event() or in any of the convenience functions; you should not have to event() or in any of the convenience functions; you should not have to
reimplement this function in a subclass of QGraphicsWidget. reimplement this function in a subclass of QGraphicsWidget.
Returns \c true if \a event has been recognized and processed; otherwise,
returns \c false.
\sa QGraphicsItem::sceneEvent() \sa QGraphicsItem::sceneEvent()
*/ */
bool QGraphicsWidget::sceneEvent(QEvent *event) bool QGraphicsWidget::sceneEvent(QEvent *event)

View File

@ -1689,6 +1689,9 @@ bool QAbstractItemView::event(QEvent *event)
This? mode, if the given \a event is a QEvent::ToolTip,or a This? mode, if the given \a event is a QEvent::ToolTip,or a
QEvent::WhatsThis. It passes all other QEvent::WhatsThis. It passes all other
events on to its base class viewportEvent() handler. events on to its base class viewportEvent() handler.
Returns \c true if \a event has been recognized and processed; otherwise,
returns \c false.
*/ */
bool QAbstractItemView::viewportEvent(QEvent *event) bool QAbstractItemView::viewportEvent(QEvent *event)
{ {

View File

@ -2930,7 +2930,7 @@ bool QPlainTextEdit::find(const QRegExp &exp, QTextDocument::FindFlags options)
#endif #endif
/*! /*!
\fn bool QTextEdit::find(const QRegularExpression &exp, QTextDocument::FindFlags options) \fn bool QPlainTextEdit::find(const QRegularExpression &exp, QTextDocument::FindFlags options)
\since 5.13 \since 5.13
\overload \overload