From cf32ca450a80d0a9d0be36d74320de651b83ad63 Mon Sep 17 00:00:00 2001 From: David Boddie Date: Wed, 13 Jan 2010 21:07:42 +0100 Subject: Doc: Describe QStackedWidget::removeWidget() more thoroughly. Reviewed-by: Pierre Rossi --- src/gui/widgets/qstackedwidget.cpp | 7 +++++-- 1 file 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() */ -- cgit v0.12