summaryrefslogtreecommitdiffstats
path: root/src/widgets/dialogs/qmessagebox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/dialogs/qmessagebox.cpp')
-rw-r--r--src/widgets/dialogs/qmessagebox.cpp45
1 files changed, 0 insertions, 45 deletions
diff --git a/src/widgets/dialogs/qmessagebox.cpp b/src/widgets/dialogs/qmessagebox.cpp
index f24cd905ccf..2a950228cd2 100644
--- a/src/widgets/dialogs/qmessagebox.cpp
+++ b/src/widgets/dialogs/qmessagebox.cpp
@@ -761,7 +761,6 @@ void QMessageBoxPrivate::helperClicked(QPlatformDialogHelper::StandardButton hel
/*!
\enum QMessageBox::StandardButton
- \since 4.2
These enums describe flags for standard buttons. Each button has a
defined \l ButtonRole.
@@ -880,8 +879,6 @@ QMessageBox::~QMessageBox()
}
/*!
- \since 4.2
-
Adds the given \a button to the message box with the specified \a
role.
@@ -927,7 +924,6 @@ QMessageBox::StandardButton QMessageBoxPrivate::standardButtonForRole(QMessageBo
}
/*!
- \since 4.2
\overload
Creates a button with the given \a text, adds it to the message box for the
@@ -943,7 +939,6 @@ QPushButton *QMessageBox::addButton(const QString& text, ButtonRole role)
}
/*!
- \since 4.2
\overload
Adds a standard \a button to the message box if it is valid to do so, and
@@ -961,8 +956,6 @@ QPushButton *QMessageBox::addButton(StandardButton button)
}
/*!
- \since 4.2
-
Removes \a button from the button box without deleting it.
\sa addButton(), setStandardButtons()
@@ -982,7 +975,6 @@ void QMessageBox::removeButton(QAbstractButton *button)
/*!
\property QMessageBox::standardButtons
\brief collection of standard buttons in the message box
- \since 4.2
This property controls which standard buttons are used by the message box.
@@ -1011,8 +1003,6 @@ QMessageBox::StandardButtons QMessageBox::standardButtons() const
}
/*!
- \since 4.2
-
Returns the standard button enum value corresponding to the given \a button,
or NoButton if the given \a button isn't a standard button.
@@ -1025,8 +1015,6 @@ QMessageBox::StandardButton QMessageBox::standardButton(QAbstractButton *button)
}
/*!
- \since 4.2
-
Returns a pointer corresponding to the standard button \a which,
or \nullptr if the standard button doesn't exist in this message box.
@@ -1045,8 +1033,6 @@ QAbstractButton *QMessageBox::button(StandardButton which) const
}
/*!
- \since 4.2
-
Returns the button that is activated when escape is pressed.
By default, QMessageBox attempts to automatically detect an
@@ -1071,8 +1057,6 @@ QAbstractButton *QMessageBox::escapeButton() const
}
/*!
- \since 4.2
-
Sets the button that gets activated when the \uicontrol Escape key is
pressed to \a button.
@@ -1086,8 +1070,6 @@ void QMessageBox::setEscapeButton(QAbstractButton *button)
}
/*!
- \since 4.3
-
Sets the buttons that gets activated when the \uicontrol Escape key is
pressed to \a button.
@@ -1154,8 +1136,6 @@ void QMessageBoxPrivate::detectEscapeButton()
}
/*!
- \since 4.2
-
Returns the button that was clicked by the user,
or \nullptr if the user hit the \uicontrol Esc key and
no \l{setEscapeButton()}{escape button} was set.
@@ -1175,8 +1155,6 @@ QAbstractButton *QMessageBox::clickedButton() const
}
/*!
- \since 4.2
-
Returns the button that should be the message box's
\l{QPushButton::setDefault()}{default button}. Returns nullptr
if no default button was set.
@@ -1190,8 +1168,6 @@ QPushButton *QMessageBox::defaultButton() const
}
/*!
- \since 4.2
-
Sets the message box's \l{QPushButton::setDefault()}{default button}
to \a button.
@@ -1208,8 +1184,6 @@ void QMessageBox::setDefaultButton(QPushButton *button)
}
/*!
- \since 4.3
-
Sets the message box's \l{QPushButton::setDefault()}{default button}
to \a button.
@@ -1702,8 +1676,6 @@ void QMessageBoxPrivate::setVisible(bool visible)
}
/*!
- \since 4.5
-
Returns a list of all the buttons that have been added to the message box.
\sa buttonRole(), addButton(), removeButton()
@@ -1715,8 +1687,6 @@ QList<QAbstractButton *> QMessageBox::buttons() const
}
/*!
- \since 4.5
-
Returns the button role for the specified \a button. This function returns
\l InvalidRole if \a button is \nullptr or has not been added to the message box.
@@ -1792,8 +1762,6 @@ static QMessageBox::StandardButton showNewMessageBox(QWidget *parent,
}
/*!
- \since 4.2
-
Opens an information message box with the given \a title and
\a text in front of the specified \a parent widget.
@@ -1826,8 +1794,6 @@ QMessageBox::StandardButton QMessageBox::information(QWidget *parent, const QStr
/*!
- \since 4.2
-
Opens a question message box with the given \a title and \a
text in front of the specified \a parent widget.
@@ -1858,8 +1824,6 @@ QMessageBox::StandardButton QMessageBox::question(QWidget *parent, const QString
}
/*!
- \since 4.2
-
Opens a warning message box with the given \a title and \a
text in front of the specified \a parent widget.
@@ -1890,8 +1854,6 @@ QMessageBox::StandardButton QMessageBox::warning(QWidget *parent, const QString
}
/*!
- \since 4.2
-
Opens a critical message box with the given \a title and \a
text in front of the specified \a parent widget.
@@ -2630,7 +2592,6 @@ void QMessageBox::setButtonText(int button, const QString &text)
/*!
\property QMessageBox::detailedText
\brief the text to be displayed in the details area.
- \since 4.2
The text will be interpreted as a plain text.
@@ -2682,8 +2643,6 @@ void QMessageBox::setDetailedText(const QString &text)
\brief the informative text that provides a fuller description for
the message
- \since 4.2
-
Informative text can be used to expand upon the text() to give more
information to the user, for example describing the consequences of
the situation, or suggestion alternative solutions.
@@ -2733,8 +2692,6 @@ void QMessageBox::setInformativeText(const QString &text)
}
/*!
- \since 4.2
-
This function shadows QWidget::setWindowTitle().
Sets the title of the message box to \a title. On \macos,
@@ -2753,8 +2710,6 @@ void QMessageBox::setWindowTitle(const QString &title)
/*!
- \since 4.2
-
This function shadows QWidget::setWindowModality().
Sets the modality of the message box to \a windowModality.