diff options
author | David Boddie <dboddie@trolltech.com> | 2010-02-05 15:01:29 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2010-02-05 15:01:29 (GMT) |
commit | ced7ed0bc745618e1b0618a17b112f983dd4a9c6 (patch) | |
tree | 50c0298cbab3fd7b4f639bdeaa26765066e07137 /src/gui/widgets | |
parent | 038893af4241add08cbcf4ee9973b17209bc2272 (diff) | |
download | Qt-ced7ed0bc745618e1b0618a17b112f983dd4a9c6.zip Qt-ced7ed0bc745618e1b0618a17b112f983dd4a9c6.tar.gz Qt-ced7ed0bc745618e1b0618a17b112f983dd4a9c6.tar.bz2 |
Doc: Clarified ownership of custom buttons added to a QDialogButtonBox.
Reviewed-by: Trust Me
Suggested-by: Robert Griebl
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/qdialogbuttonbox.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/qdialogbuttonbox.cpp b/src/gui/widgets/qdialogbuttonbox.cpp index 48d7022..6a0e363 100644 --- a/src/gui/widgets/qdialogbuttonbox.cpp +++ b/src/gui/widgets/qdialogbuttonbox.cpp @@ -1017,6 +1017,8 @@ void QDialogButtonBox::removeButton(QAbstractButton *button) If the button has already been added, it is removed and added again with the new role. + \note The button box takes ownership of the button. + \sa removeButton(), clear() */ void QDialogButtonBox::addButton(QAbstractButton *button, ButtonRole role) |