diff options
author | David Boddie <dboddie@trolltech.com> | 2010-01-13 20:07:42 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2010-01-13 20:07:42 (GMT) |
commit | cf32ca450a80d0a9d0be36d74320de651b83ad63 (patch) | |
tree | c7416a216ff89013af5d7382c76faf72726cd2ed /src | |
parent | 55305ee1ea58c52928079f83562ba7e680406969 (diff) | |
download | Qt-cf32ca450a80d0a9d0be36d74320de651b83ad63.zip Qt-cf32ca450a80d0a9d0be36d74320de651b83ad63.tar.gz Qt-cf32ca450a80d0a9d0be36d74320de651b83ad63.tar.bz2 |
Doc: Describe QStackedWidget::removeWidget() more thoroughly.
Reviewed-by: Pierre Rossi
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/qstackedwidget.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/widgets/qstackedwidget.cpp b/src/gui/widgets/qstackedwidget.cpp index 396e233..2509a21 100644 --- a/src/gui/widgets/qstackedwidget.cpp +++ b/src/gui/widgets/qstackedwidget.cpp @@ -186,8 +186,11 @@ int QStackedWidget::insertWidget(int index, QWidget *widget) } /*! - Removes the given \a widget from the QStackedWidget. The widget - is \e not deleted. + Removes the given \a widget from the QStackedWidget. + + \bold{Note:} The ownership of \a widget remains the same. + The widget is \e not deleted, but simply removed from the widget's + stacked layout, causing it to be hidden. \sa addWidget(), insertWidget(), currentWidget() */ |