summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2010-01-13 20:07:42 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2010-01-13 20:07:42 (GMT)
commitcf32ca450a80d0a9d0be36d74320de651b83ad63 (patch)
treec7416a216ff89013af5d7382c76faf72726cd2ed /src
parent55305ee1ea58c52928079f83562ba7e680406969 (diff)
downloadQt-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.cpp7
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()
*/