Lines Matching defs:medium
507 void UIMessageCenter::cannotGetMediaAccessibility(const UIMedium &medium) const
511 .arg(medium.location()),
512 formatErrorInfo(medium.result()));
615 /* Check if the medium is a hard disk: */
1100 tr("&Remove", "medium"));
1214 void UIMessageCenter::cannotChangeMediumType(const CMedium &medium, KMediumType oldMediumType, KMediumType newMediumType, QWidget *pParent /* = 0*/) const
1219 formatErrorInfo(medium));
1222 bool UIMessageCenter::confirmMediumRelease(const UIMedium &medium, QWidget *pParent /* = 0*/) const
1227 foreach (const QString &strMachineID, medium.curStateMachineIds())
1236 switch (medium.type())
1261 strMessage.arg(medium.location(), usage.join(", ")),
1263 tr("Release", "detach medium"));
1266 bool UIMessageCenter::confirmMediumRemoval(const UIMedium &medium, QWidget *pParent /* = 0*/) const
1270 switch (medium.type())
1279 capabilities = medium.medium().GetMediumFormat().GetCapabilities();
1285 if (medium.state() == KMediumState_Inaccessible)
1295 strMessage += tr("<p>Note that the storage unit of this medium will not be "
1303 strMessage += tr("<p>Note that the storage unit of this medium will not be "
1312 strMessage.arg(medium.location()),
1314 tr("Remove", "medium"));
1335 void UIMessageCenter::cannotDeleteHardDiskStorage(const CMedium &medium, const QString &strLocation, QWidget *pParent /* = 0*/) const
1340 formatErrorInfo(medium));
1382 bool UIMessageCenter::cannotRemountMedium(const CMachine &machine, const UIMedium &medium, bool fMount, bool fRetry, QWidget *pParent /* = 0*/) const
1386 switch (medium.type())
1426 strMessage.arg(medium.isHostDrive() ? medium.name() : medium.location(), CMachine(machine).GetName()),
1431 strMessage.arg(medium.isHostDrive() ? medium.name() : medium.location(), CMachine(machine).GetName()),
1465 void UIMessageCenter::cannotCloseMedium(const UIMedium &medium, const COMResult &rc, QWidget *pParent /* = 0*/) const
1469 switch (medium.type())
1491 strMessage.arg(medium.location()), formatErrorInfo(rc));
1555 void UIMessageCenter::cannotCreateHardDiskStorage(const CMedium &medium, const QString &strLocation, QWidget *pParent /* = 0*/) const
1560 formatErrorInfo(medium));