summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2009-05-20 12:26:00 (GMT)
committerMartin Smith <msmith@trolltech.com>2009-05-20 12:26:00 (GMT)
commit3f705ded78ed54ec63ca09cc81dfb68bc2235190 (patch)
tree307e8528659f5d27fcc11a627c2a2533781e677f /src/gui/dialogs
parent27df3cb8c0e547d9174fd0571b16ed554eb2432d (diff)
parentfdefbb820f1ebf9fbde0f683ea6d05923e8c04e4 (diff)
downloadQt-3f705ded78ed54ec63ca09cc81dfb68bc2235190.zip
Qt-3f705ded78ed54ec63ca09cc81dfb68bc2235190.tar.gz
Qt-3f705ded78ed54ec63ca09cc81dfb68bc2235190.tar.bz2
Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5
Diffstat (limited to 'src/gui/dialogs')
-rw-r--r--src/gui/dialogs/qmessagebox.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/gui/dialogs/qmessagebox.cpp b/src/gui/dialogs/qmessagebox.cpp
index 5e59501..fb3bcb8 100644
--- a/src/gui/dialogs/qmessagebox.cpp
+++ b/src/gui/dialogs/qmessagebox.cpp
@@ -706,15 +706,10 @@ void QMessageBoxPrivate::_q_buttonClicked(QAbstractButton *button)
Constructs a message box with no text and no buttons. \a parent is
passed to the QDialog constructor.
- If \a parent is 0, the message box is an \l{Qt::ApplicationModal}
- {application modal} dialog box. If \a parent is a widget, the
- message box is \l{Qt::WindowModal} {window modal} relative to \a
- parent.
-
- On Mac OS X, if \a parent is not 0 and you want your message box
- to appear as a Qt::Sheet of that parent, set the message box's
- \l{setWindowModality()} {window modality} to Qt::WindowModal
- (default). Otherwise, the message box will be a standard dialog.
+ On Mac OS X, if you want your message box to appear
+ as a Qt::Sheet of its \a parent, set the message box's
+ \l{setWindowModality()} {window modality} to Qt::WindowModal or use open().
+ Otherwise, the message box will be a standard dialog.
*/
QMessageBox::QMessageBox(QWidget *parent)