From 5c097f895d73a80c8ff5b401100e25c4b5f69eeb Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Mon, 12 Oct 2020 12:39:44 +0200 Subject: Add \since 6.0 to new function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also fix general style of the documentation. Task-number: QTBUG-86479 Change-Id: Ia46bb3ec02d6474dd79b8ac733e0c613abc5e0d8 Reviewed-by: Jan Arve Sæther --- src/widgets/graphicsview/qgraphicslayoutitem.cpp | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/widgets/graphicsview/qgraphicslayoutitem.cpp b/src/widgets/graphicsview/qgraphicslayoutitem.cpp index 2c484321e4..67eefc14ad 100644 --- a/src/widgets/graphicsview/qgraphicslayoutitem.cpp +++ b/src/widgets/graphicsview/qgraphicslayoutitem.cpp @@ -827,12 +827,16 @@ void QGraphicsLayoutItem::updateGeometry() } /*! - * returns \c true if this item is empty, i.e whether it has no content and - * should not occupy any space. - * - * The default implementation returns true if the item has been hidden unless - * its size policy has retainSizeWhenHidden set to \c true - */ + \since 6.0 + + Returns \c true if this item is empty, i.e whether it has no content and + should not occupy any space. + + The default implementation returns \c true true if the item has been hidden, + unless its \l{sizePolicy()}{size policy} has retainSizeWhenHidden set to \c true + + \sa sizePolicy() +*/ bool QGraphicsLayoutItem::isEmpty() const { bool isHidden = false; -- cgit v1.2.3