Changeset 55098 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Apr 3, 2015 6:05:36 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMedium.h
r55097 r55098 118 118 119 119 /** Returns the CMedium wrapped by this UIMedium object. */ 120 const CMedium &medium() const { return m_medium; }120 const CMedium& medium() const { return m_medium; } 121 121 122 122 /** Returns @c true if CMedium wrapped by this UIMedium object is a NULL object. */ … … 129 129 KMediumState state(bool fNoDiffs = false) const 130 130 { 131 unconst 131 unconst(this)->checkNoDiffs(fNoDiffs); 132 132 return fNoDiffs ? m_noDiffs.state : m_state; 133 133 } … … 138 138 * @note In "don't show diffs" mode, this method returns the worst result 139 139 * (in terms of inaccessibility) detected on the given hard drive chain. */ 140 const COMResult &result(bool fNoDiffs = false) const140 const COMResult& result(bool fNoDiffs = false) const 141 141 { 142 142 unconst(this)->checkNoDiffs(fNoDiffs); … … 276 276 277 277 /** Returns a vector of IDs of all machines this medium is attached to. */ 278 const QList <QString> &machineIds() const { return m_machineIds; }278 const QList<QString>& machineIds() const { return m_machineIds; } 279 279 /** Returns a vector of IDs of all machines this medium is attached to 280 280 * in their current state (i.e. excluding snapshots). */ 281 const QList <QString> &curStateMachineIds() const { return m_curStateMachineIds; }281 const QList<QString>& curStateMachineIds() const { return m_curStateMachineIds; } 282 282 283 283 /** Returns NULL medium ID. */
Note:
See TracChangeset
for help on using the changeset viewer.