VirtualBox

Changeset 43536 in vbox


Ignore:
Timestamp:
Oct 4, 2012 11:53:42 AM (12 years ago)
Author:
vboxsync
Message:

FE/Qt: VM group feature UI: Current-item handling cleanup (part 1).

Location:
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooser.cpp

    r43514 r43536  
    6262UIVMItem* UIGChooser::currentItem() const
    6363{
    64     return m_pChooserModel->currentItem();
     64    return m_pChooserModel->currentMachineItem();
    6565}
    6666
    6767QList<UIVMItem*> UIGChooser::currentItems() const
    6868{
    69     return m_pChooserModel->currentItems();
     69    return m_pChooserModel->currentMachineItems();
    7070}
    7171
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserModel.cpp

    r43528 r43536  
    186186}
    187187
    188 UIVMItem* UIGChooserModel::currentItem() const
     188UIVMItem* UIGChooserModel::currentMachineItem() const
    189189{
    190190    /* Search for the first selected machine: */
     
    217217}
    218218
    219 QList<UIVMItem*> UIGChooserModel::currentItems() const
     219QList<UIVMItem*> UIGChooserModel::currentMachineItems() const
    220220{
    221221    /* Populate list of selected machines: */
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserModel.h

    r43528 r43536  
    110110
    111111    /* API: Current-item stuff: */
    112     UIVMItem* currentItem() const;
     112    UIVMItem* currentMachineItem() const;
    113113    QString currentItemDefinition() const;
    114     QList<UIVMItem*> currentItems() const;
     114    QList<UIVMItem*> currentMachineItems() const;
    115115    const QList<UIGChooserItem*>& selectionList() const;
    116116    void setCurrentItem(int iItemIndex);
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