Doc: Fix links to QLayout[Item]::expandingDirections()

The method has been named expandingDirections() since the very
initial git commit for Qt 4.8 ... So high time to fix the
documentation.

Pick-to: 6.5 6.6
Change-Id: If5d7189ebbe439bd0b0e95d51e77c08ee52c3471
Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io>
This commit is contained in:
Kai Köhne 2023-06-02 10:25:47 +02:00
parent 6b81063832
commit ef7e65e19a
2 changed files with 2 additions and 2 deletions

View File

@ -1259,7 +1259,7 @@ QLayout::SizeConstraint QLayout::sizeConstraint() const
this layout is set to \a r, provided that this layout supports this layout is set to \a r, provided that this layout supports
setAlignment(). setAlignment().
The result is derived from sizeHint() and expanding(). It is never The result is derived from sizeHint() and expandingDirections(). It is never
larger than \a r. larger than \a r.
*/ */
QRect QLayout::alignmentRect(const QRect &r) const QRect QLayout::alignmentRect(const QRect &r) const

View File

@ -52,7 +52,7 @@ inline static QSize toLayoutItemSize(QWidgetPrivate *priv, const QSize &size)
Pure virtual functions are provided to return information about Pure virtual functions are provided to return information about
the layout, including, sizeHint(), minimumSize(), maximumSize() the layout, including, sizeHint(), minimumSize(), maximumSize()
and expanding(). and expandingDirections().
The layout's geometry can be set and retrieved with setGeometry() The layout's geometry can be set and retrieved with setGeometry()
and geometry(), and its alignment with setAlignment() and and geometry(), and its alignment with setAlignment() and