- Timestamp:
- May 6, 2019 5:22:19 PM (6 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
r78395 r78396 1465 1465 } 1466 1466 1467 void UIMessageCenter::cannotOpenKnownMedium(const CVirtualBox &comVBox, const QUuid &uMediumId, QWidget *pParent /* = 0 */) const 1468 { 1469 /* Show the error: */ 1470 error(pParent, MessageType_Error, 1471 tr("Failed to open the medium with following ID: <nobr><b>%1</b></nobr>.").arg(uMediumId.toString()), UIErrorString::formatErrorInfo(comVBox)); 1472 } 1473 1474 void UIMessageCenter::cannotAcquireAttachmentMedium(const CMediumAttachment &comAttachment, QWidget *pParent /* = 0 */) const 1475 { 1476 /* Show the error: */ 1477 error(pParent, MessageType_Error, 1478 tr("Failed to acquire attachment medium."), UIErrorString::formatErrorInfo(comAttachment)); 1479 } 1480 1481 void UIMessageCenter::cannotAcquireMediumAttribute(const CMedium &comMedium, QWidget *pParent /* = 0 */) const 1482 { 1483 /* Show the error: */ 1484 error(pParent, MessageType_Error, 1485 tr("Failed to acquire medium attribute."), UIErrorString::formatErrorInfo(comMedium)); 1486 } 1487 1467 1488 void UIMessageCenter::cannotCloseMedium(const UIMedium &medium, const COMResult &rc, QWidget *pParent /* = 0*/) const 1468 1489 { -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.h
r78395 r78396 343 343 bool cannotRemountMedium(const CMachine &machine, const UIMedium &medium, bool fMount, bool fRetry, QWidget *pParent = 0) const; 344 344 void cannotOpenMedium(const CVirtualBox &comVBox, const QString &strLocation, QWidget *pParent = 0) const; 345 void cannotOpenKnownMedium(const CVirtualBox &comVBox, const QUuid &uMediumId, QWidget *pParent = 0) const; 346 void cannotAcquireAttachmentMedium(const CMediumAttachment &comAttachment, QWidget *pParent = 0) const; 347 void cannotAcquireMediumAttribute(const CMedium &comMedium, QWidget *pParent = 0) const; 345 348 void cannotCloseMedium(const UIMedium &medium, const COMResult &rc, QWidget *pParent = 0) const; 346 349
Note:
See TracChangeset
for help on using the changeset viewer.