VirtualBox

Changeset 43614 in vbox


Ignore:
Timestamp:
Oct 11, 2012 11:28:34 AM (12 years ago)
Author:
vboxsync
Message:

FE/Qt: VM group feature UI: Navigation stuff 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/UIGChooserHandlerKeyboard.cpp

    r43564 r43614  
    339339        {
    340340            /* If model is performing lookup: */
    341             if (model()->isPerformingLookup())
     341            if (model()->isLookupInProgress())
    342342            {
    343343                /* Continue lookup: */
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserModel.cpp

    r43604 r43614  
    191191}
    192192
    193 void UIGChooserModel::clearNavigationList()
     193void UIGChooserModel::updateNavigation()
    194194{
    195195    m_navigationList.clear();
    196 }
    197 
    198 void UIGChooserModel::updateNavigation()
    199 {
    200     clearNavigationList();
    201196    m_navigationList = createNavigationList(root());
    202197}
     
    574569}
    575570
    576 bool UIGChooserModel::isPerformingLookup() const
     571bool UIGChooserModel::isLookupInProgress() const
    577572{
    578573    return m_pLookupTimer->isActive();
     
    932927    QList<UIGChooserItemMachine*> inaccessibleMachineItemList;
    933928    UIGChooserItemMachine::enumerateMachineItems(currentItems(), inaccessibleMachineItemList,
    934                                                  UIGChooserItemMachineEnumerationFlag_Unique | UIGChooserItemMachineEnumerationFlag_Inaccessible);
     929                                                 UIGChooserItemMachineEnumerationFlag_Unique |
     930                                                 UIGChooserItemMachineEnumerationFlag_Inaccessible);
    935931
    936932    /* For each machine-item: */
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserModel.h

    r43604 r43614  
    106106    const QList<UIGChooserItem*>& navigationList() const;
    107107    void removeFromNavigationList(UIGChooserItem *pItem);
    108     void clearNavigationList();
    109108    void updateNavigation();
    110109
     
    148147    /* API: Item lookup stuff: */
    149148    void lookFor(const QString &strLookupSymbol);
    150     bool isPerformingLookup() const;
     149    bool isLookupInProgress() const;
    151150
    152151    /* API: Saving stuff: */
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