summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsanchorlayout.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-10-03 11:29:08 (GMT)
committerVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-10-03 11:29:08 (GMT)
commit77d2a0ee199b8570f22a1888f1bc97affb255d2e (patch)
treeac664db75520d1b7fa1f06e4671e31e9e8616676 /src/gui/graphicsview/qgraphicsanchorlayout.cpp
parentafcbc3c51af32463653e2cdc9b3050b083b584e8 (diff)
downloadQt-77d2a0ee199b8570f22a1888f1bc97affb255d2e.zip
Qt-77d2a0ee199b8570f22a1888f1bc97affb255d2e.tar.gz
Qt-77d2a0ee199b8570f22a1888f1bc97affb255d2e.tar.bz2
Doc: silence more qdoc warnings.
Mark QGraphicsAnchor::unsetSpacing as reset function of the spacing property.
Diffstat (limited to 'src/gui/graphicsview/qgraphicsanchorlayout.cpp')
-rw-r--r--src/gui/graphicsview/qgraphicsanchorlayout.cpp19
1 files changed, 6 insertions, 13 deletions
diff --git a/src/gui/graphicsview/qgraphicsanchorlayout.cpp b/src/gui/graphicsview/qgraphicsanchorlayout.cpp
index fdb1708..ffbb67c 100644
--- a/src/gui/graphicsview/qgraphicsanchorlayout.cpp
+++ b/src/gui/graphicsview/qgraphicsanchorlayout.cpp
@@ -118,9 +118,13 @@ QGraphicsAnchor::~QGraphicsAnchor()
}
/*!
- Set the spacing for the anchor to \a spacing.
+ \property QGraphicsAnchor::spacing
+ \brief the space between items in the QGraphicsAnchorLayout.
- \sa spacing(), unsetSpacing()
+ Depending on the anchor type, the default spacing is either
+ 0 or a value returned from the style.
+
+ \sa QGraphicsAnchorLayout::anchor()
*/
void QGraphicsAnchor::setSpacing(qreal spacing)
{
@@ -128,23 +132,12 @@ void QGraphicsAnchor::setSpacing(qreal spacing)
d->setSpacing(spacing);
}
-/*!
- Returns the spacing for the anchor
-
- \sa setSpacing()
-*/
qreal QGraphicsAnchor::spacing() const
{
Q_D(const QGraphicsAnchor);
return d->spacing();
}
-/*!
- Resets the spacing of the anchor point to be the default spacing. Depending on the anchor type,
- the default spacing is either 0 or a value returned from the style.
-
- \sa setSpacing(), spacing(), QGraphicsAnchorLayout::anchor()
-*/
void QGraphicsAnchor::unsetSpacing()
{
Q_D(QGraphicsAnchor);