summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNorwegian Rock Cat <qt-info@nokia.com>2009-07-22 12:25:26 (GMT)
committerNorwegian Rock Cat <qt-info@nokia.com>2009-07-22 12:34:33 (GMT)
commit6f9d5e9435b2c518df62278cc6fc1ab0fdf23ffe (patch)
tree973728d067f9a61f62257861533786aca1f34ccc
parent6c25a7cdea912f212ce00f43c7cfc862c1ecdd50 (diff)
downloadQt-6f9d5e9435b2c518df62278cc6fc1ab0fdf23ffe.zip
Qt-6f9d5e9435b2c518df62278cc6fc1ab0fdf23ffe.tar.gz
Qt-6f9d5e9435b2c518df62278cc6fc1ab0fdf23ffe.tar.bz2
Update documentation for QMessageBox::open().
I had missed this one in my rounds of updates. Bad me. Reviewed-by: Thorbjorn
-rw-r--r--src/gui/dialogs/qmessagebox.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/dialogs/qmessagebox.cpp b/src/gui/dialogs/qmessagebox.cpp
index b3522ce..eeec95f 100644
--- a/src/gui/dialogs/qmessagebox.cpp
+++ b/src/gui/dialogs/qmessagebox.cpp
@@ -1368,8 +1368,10 @@ void QMessageBox::setVisible(bool visible)
/*!
\overload
- Opens the dialog and connects its accepted() signal to the slot specified
- by \a receiver and \a member.
+ Opens the dialog and connects its finished() or buttonClicked() signal to
+ the slot specified by \a receiver and \a member. If the slot in \a member
+ has a pointer for its first parameter the connection is to buttonClicked(),
+ otherwise the connection is to finished().
The signal will be disconnected from the slot when the dialog is closed.
*/