Changeset 89968 in vbox
- Timestamp:
- Jun 30, 2021 9:17:13 AM (4 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/globals
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp
r89965 r89968 202 202 const char *pcszAutoConfirmId /* = 0*/, 203 203 const QString &strOkButtonText /* = QString()*/, 204 const QString &strCancelButtonText /* = QString()*/) const 204 const QString &strCancelButtonText /* = QString()*/, 205 const QString &strHelpKeyword /* = QString()*/) const 205 206 { 206 207 return (message(pParent, enmType, strMessage, strDetails, pcszAutoConfirmId, … … 210 211 strOkButtonText, 211 212 strCancelButtonText, 212 QString() /* third button */) & 213 QString() /* third button text*/, 214 strHelpKeyword) & 213 215 AlertButtonMask) == AlertButton_Ok; 214 216 } … … 216 218 void UIMessageCenter::alert(QWidget *pParent, MessageType enmType, 217 219 const QString &strMessage, 218 const char *pcszAutoConfirmId /* = 0*/) const 219 { 220 error(pParent, enmType, strMessage, QString(), pcszAutoConfirmId); 220 const char *pcszAutoConfirmId /* = 0*/, 221 const QString &strHelpKeyword /* = QString()*/) const 222 { 223 error(pParent, enmType, strMessage, QString(), pcszAutoConfirmId, strHelpKeyword); 221 224 } 222 225 -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.h
r89954 r89968 137 137 * @param pcszAutoConfirmId Brings the auto-confirm ID. 138 138 * @param strOkButtonText Brings the Ok button text. 139 * @param strCancelButtonText Brings the Cancel button text. */ 139 * @param strCancelButtonText Brings the Cancel button text. 140 * @param strHelpKeyword Brings the help keyword string. */ 140 141 bool errorWithQuestion(QWidget *pParent, MessageType enmType, 141 142 const QString &strMessage, … … 143 144 const char *pcszAutoConfirmId = 0, 144 145 const QString &strOkButtonText = QString(), 145 const QString &strCancelButtonText = QString()) const; 146 const QString &strCancelButtonText = QString(), 147 const QString &strHelpKeyword = QString()) const; 146 148 147 149 /** Shows an 'Alert' type of 'Error'. … … 150 152 * @param enmType Brings the message-box type. 151 153 * @param strMessage Brings the message. 152 * @param pcszAutoConfirmId Brings the auto-confirm ID. */ 154 * @param pcszAutoConfirmId Brings the auto-confirm ID. 155 * @param strHelpKeyword Brings the help keyword string. */ 153 156 void alert(QWidget *pParent, MessageType enmType, 154 157 const QString &strMessage, 155 const char *pcszAutoConfirmId = 0) const; 158 const char *pcszAutoConfirmId = 0, 159 const QString &strHelpKeyword = QString()) const; 156 160 157 161 /** Shows a 'Question' type of 'Message'.
Note:
See TracChangeset
for help on using the changeset viewer.