Changeset 43598 in vbox
- Timestamp:
- Oct 10, 2012 2:43:54 PM (12 years ago)
- 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 550 550 /* Group passed item with current item into the new group: */ 551 551 UIGChooserItemGroup *pNewGroupItem = new UIGChooserItemGroup(parentItem(), 552 model()->uniqueGroupName(parentItem()),552 UIGChooserModel::uniqueGroupName(parentItem()), 553 553 true); 554 554 new UIGChooserItemMachine(pNewGroupItem, this); -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserModel.cpp
r43597 r43598 494 494 } 495 495 496 void UIGChooserModel::startEditingGroupItemName() 497 { 498 sltEditGroupName(); 499 } 500 501 void UIGChooserModel::cleanupGroupTree() 502 { 503 cleanupGroupTree(mainRoot()); 504 } 505 506 /* static */ 496 507 QString UIGChooserModel::uniqueGroupName(UIGChooserItem *pRoot) 497 508 { … … 523 534 strResult += " " + QString::number(iMinimumPossibleNumber); 524 535 return strResult; 525 }526 527 void UIGChooserModel::startEditingGroupItemName()528 {529 sltEditGroupName();530 }531 532 void UIGChooserModel::cleanupGroupTree()533 {534 cleanupGroupTree(mainRoot());535 536 } 536 537 -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserModel.h
r43597 r43598 136 136 137 137 /* API: Group-item stuff: */ 138 QString uniqueGroupName(UIGChooserItem *pRoot);139 138 void startEditingGroupItemName(); 140 139 void cleanupGroupTree(); 140 static QString uniqueGroupName(UIGChooserItem *pRoot); 141 141 142 142 /* API: Machine-item stuff: */
Note:
See TracChangeset
for help on using the changeset viewer.