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. Change-Id: If5d7189ebbe439bd0b0e95d51e77c08ee52c3471 Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io> (cherry picked from commit ef7e65e19a0ddf74a0cd72e59a83b9543426322b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
5c3203d38d
commit
ccc30c7e0d
@ -1259,7 +1259,7 @@ QLayout::SizeConstraint QLayout::sizeConstraint() const
|
||||
this layout is set to \a r, provided that this layout supports
|
||||
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.
|
||||
*/
|
||||
QRect QLayout::alignmentRect(const QRect &r) const
|
||||
|
@ -52,7 +52,7 @@ inline static QSize toLayoutItemSize(QWidgetPrivate *priv, const QSize &size)
|
||||
|
||||
Pure virtual functions are provided to return information about
|
||||
the layout, including, sizeHint(), minimumSize(), maximumSize()
|
||||
and expanding().
|
||||
and expandingDirections().
|
||||
|
||||
The layout's geometry can be set and retrieved with setGeometry()
|
||||
and geometry(), and its alignment with setAlignment() and
|
||||
|
Loading…
x
Reference in New Issue
Block a user