VirtualBox

Changeset 43598 in vbox


Ignore:
Timestamp:
Oct 10, 2012 2:43:54 PM (12 years ago)
Author:
vboxsync
Message:

FE/Qt: VM group feature UI: Group/machine item handling cleanup (part 5).

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/UIGChooserItemMachine.cpp

    r43597 r43598  
    550550                /* Group passed item with current item into the new group: */
    551551                UIGChooserItemGroup *pNewGroupItem = new UIGChooserItemGroup(parentItem(),
    552                                                                              model()->uniqueGroupName(parentItem()),
     552                                                                             UIGChooserModel::uniqueGroupName(parentItem()),
    553553                                                                             true);
    554554                new UIGChooserItemMachine(pNewGroupItem, this);
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserModel.cpp

    r43597 r43598  
    494494}
    495495
     496void UIGChooserModel::startEditingGroupItemName()
     497{
     498    sltEditGroupName();
     499}
     500
     501void UIGChooserModel::cleanupGroupTree()
     502{
     503    cleanupGroupTree(mainRoot());
     504}
     505
     506/* static */
    496507QString UIGChooserModel::uniqueGroupName(UIGChooserItem *pRoot)
    497508{
     
    523534        strResult += " " + QString::number(iMinimumPossibleNumber);
    524535    return strResult;
    525 }
    526 
    527 void UIGChooserModel::startEditingGroupItemName()
    528 {
    529     sltEditGroupName();
    530 }
    531 
    532 void UIGChooserModel::cleanupGroupTree()
    533 {
    534     cleanupGroupTree(mainRoot());
    535536}
    536537
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserModel.h

    r43597 r43598  
    136136
    137137    /* API: Group-item stuff: */
    138     QString uniqueGroupName(UIGChooserItem *pRoot);
    139138    void startEditingGroupItemName();
    140139    void cleanupGroupTree();
     140    static QString uniqueGroupName(UIGChooserItem *pRoot);
    141141
    142142    /* API: Machine-item 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