VirtualBox

Changeset 67118 in vbox for trunk/src


Ignore:
Timestamp:
May 26, 2017 2:40:11 PM (8 years ago)
Author:
vboxsync
Message:

FE/Qt: Selector UI: Tools pane: Snapshot pane: A bit of doxy tuning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UISnapshotPane.h

    r67044 r67118  
    5959    UISnapshotPane(QWidget *pParent = 0);
    6060
    61     /** Defines the @a comMachine to be parsed. */
     61    /** Defines the @a comMachine object to be parsed. */
    6262    void setMachine(const CMachine &comMachine);
    6363
     
    7272private slots:
    7373
    74     /** @name Tree-view handlers
     74    /** @name Tree-widget handlers.
    7575      * @{ */
    7676        /** Handles cursor change to @a pItem. */
     
    8484    /** @} */
    8585
    86     /** @name Main event handlers
     86    /** @name Main event handlers.
    8787      * @{ */
    8888        /** Handles machine data change for machine with @a strMachineID. */
     
    9494    /** @} */
    9595
    96     /** @name Timer event handlers
     96    /** @name Timer event handlers.
    9797      * @{ */
    9898        /** Updates snapshots age. */
     
    100100    /** @} */
    101101
    102     /** @name Snapshot operations
     102    /** @name Toolbar handlers.
    103103      * @{ */
    104104        /** Proposes to take a snapshot. */
     
    116116private:
    117117
    118     /** @name Snapshot operations
     118    /** @name Toolbar helpers.
    119119      * @{ */
    120120        /** Proposes to take a snapshot. */
     
    135135    void populateSnapshots(const CSnapshot &comSnapshot, QITreeWidgetItem *pItem);
    136136
    137     /** Searches for an item with corresponding @a strSnapshotID. */
    138     UISnapshotItem *findItem(const QString &strSnapshotID) const;
    139     /** Returns the "current state" item. */
    140     UISnapshotItem *currentStateItem() const;
     137    /** @name Tree-widget helpers.
     138      * @{ */
     139        /** Searches for an item with corresponding @a strSnapshotID. */
     140        UISnapshotItem *findItem(const QString &strSnapshotID) const;
     141        /** Returns the "current state" item. */
     142        UISnapshotItem *currentStateItem() const;
    141143
    142     /** Searches for smallest snapshot age starting with @a pItem as parent. */
    143     SnapshotAgeFormat traverseSnapshotAge(QTreeWidgetItem *pItem) const;
     144        /** Searches for smallest snapshot age starting with @a pItem as parent. */
     145        SnapshotAgeFormat traverseSnapshotAge(QTreeWidgetItem *pItem) const;
     146    /** @} */
    144147
    145     /** Holds the machine COM wrapper. */
    146     CMachine         m_comMachine;
    147     /** Holds the machine ID. */
    148     QString          m_strMachineID;
    149     /** Holds the cached session state. */
    150     KSessionState    m_enmSessionState;
    151     /** Holds the current snapshot item reference. */
    152     UISnapshotItem  *m_pCurrentSnapshotItem;
    153     /** Holds the snapshot item editing protector. */
    154     QReadWriteLock   m_lockReadWrite;
     148    /** @name General variables.
     149      * @{ */
     150        /** Holds the COM machine object. */
     151        CMachine       m_comMachine;
     152        /** Holds the machine object ID. */
     153        QString        m_strMachineID;
     154        /** Holds the cached session state. */
     155        KSessionState  m_enmSessionState;
     156        /** Holds the current snapshot item reference. */
     157        UISnapshotItem *m_pCurrentSnapshotItem;
     158        /** Holds the snapshot item editing protector. */
     159        QReadWriteLock m_lockReadWrite;
     160    /** @} */
    155161
    156     /** Holds the snapshot take action instance. */
    157     QAction         *m_pActionTakeSnapshot;
    158     /** Holds the snapshot restore action instance. */
    159     QAction         *m_pActionRestoreSnapshot;
    160     /** Holds the snapshot delete action instance. */
    161     QAction         *m_pActionDeleteSnapshot;
    162     /** Holds the show snapshot details action instance. */
    163     QAction         *m_pActionShowSnapshotDetails;
    164     /** Holds the snapshot clone action instance. */
    165     QAction         *m_pActionCloneSnapshot;
     162    /** @name Widget variables.
     163      * @{ */
     164        /** Holds the Take Snapshot action instance. */
     165        QAction   *m_pActionTakeSnapshot;
     166        /** Holds the Restore Snapshot action instance. */
     167        QAction   *m_pActionRestoreSnapshot;
     168        /** Holds the Delete Snapshot action instance. */
     169        QAction   *m_pActionDeleteSnapshot;
     170        /** Holds the Show Snapshot Details action instance. */
     171        QAction   *m_pActionShowSnapshotDetails;
     172        /** Holds the Clone Snapshot action instance. */
     173        QAction   *m_pActionCloneSnapshot;
    166174
    167     /** Holds the snapshot age update timer. */
    168     QTimer          m_ageUpdateTimer;
     175        /** Holds the snapshot age update timer. */
     176        QTimer m_ageUpdateTimer;
    169177
    170     /** Holds whether the snapshot operations are allowed. */
    171     bool             m_fShapshotOperationsAllowed;
     178        /** Holds whether the snapshot operations are allowed. */
     179        bool  m_fShapshotOperationsAllowed;
    172180
    173     /** Holds the cached snapshot-item pixmap for 'offline' state. */
    174     QIcon            m_snapshotIconOffline;
    175     /** Holds the cached snapshot-item pixmap for 'online' state. */
    176     QIcon            m_snapshotIconOnline;
     181        /** Holds the cached snapshot-item pixmap for 'offline' state. */
     182        QIcon m_snapshotIconOffline;
     183        /** Holds the cached snapshot-item pixmap for 'online' state. */
     184        QIcon m_snapshotIconOnline;
    177185
    178     /** Holds the snapshot tree instance. */
    179     UISnapshotTree  *m_pSnapshotTree;
     186        /** Holds the snapshot tree instance. */
     187        UISnapshotTree *m_pSnapshotTree;
     188    /** @} */
    180189};
    181190
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