VirtualBox

Ignore:
Timestamp:
Apr 3, 2015 6:05:36 PM (10 years ago)
Author:
vboxsync
Message:

FE/Qt: 7127: Medium-enumeration improvements: UIMedium header coding style fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMedium.h

    r55097 r55098  
    118118
    119119    /** Returns the CMedium wrapped by this UIMedium object. */
    120     const CMedium &medium() const { return m_medium; }
     120    const CMedium& medium() const { return m_medium; }
    121121
    122122    /** Returns @c true if CMedium wrapped by this UIMedium object is a NULL object. */
     
    129129    KMediumState state(bool fNoDiffs = false) const
    130130    {
    131         unconst (this)->checkNoDiffs(fNoDiffs);
     131        unconst(this)->checkNoDiffs(fNoDiffs);
    132132        return fNoDiffs ? m_noDiffs.state : m_state;
    133133    }
     
    138138      * @note  In "don't show diffs" mode, this method returns the worst result
    139139      *        (in terms of inaccessibility) detected on the given hard drive chain. */
    140     const COMResult &result(bool fNoDiffs = false) const
     140    const COMResult& result(bool fNoDiffs = false) const
    141141    {
    142142        unconst(this)->checkNoDiffs(fNoDiffs);
     
    276276
    277277    /** 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; }
    279279    /** Returns a vector of IDs of all machines this medium is attached to
    280280      * 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; }
    282282
    283283    /** Returns NULL medium ID. */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette