Changeset 43564 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Oct 8, 2012 11:20:40 AM (12 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserHandlerKeyboard.cpp
r43553 r43564 321 321 { 322 322 /* Start embedded editing focus item: */ 323 model()->startEditing ();323 model()->startEditingGroupItemName(); 324 324 /* Filter that event out: */ 325 325 return true; … … 332 332 { 333 333 /* Activate item: */ 334 model()->activate ();334 model()->activateMachineItem(); 335 335 /* And filter out that event: */ 336 336 return true; -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserHandlerMouse.cpp
r43554 r43564 206 206 { 207 207 /* Activate machine item: */ 208 model()->activate ();208 model()->activateMachineItem(); 209 209 } 210 210 break; -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserModel.cpp
r43563 r43564 503 503 } 504 504 505 void UIGChooserModel::startEditing ()505 void UIGChooserModel::startEditingGroupItemName() 506 506 { 507 507 sltStartEditingSelectedGroup(); … … 513 513 } 514 514 515 void UIGChooserModel::activate ()515 void UIGChooserModel::activateMachineItem() 516 516 { 517 517 gActionPool->action(UIActionIndexSelector_State_Common_StartOrShow)->activate(QAction::Trigger); -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserModel.h
r43563 r43564 137 137 /* API: Group-item stuff: */ 138 138 QString uniqueGroupName(UIGChooserItem *pRoot); 139 void startEditing ();139 void startEditingGroupItemName(); 140 140 void updateGroupTree(); 141 141 142 142 /* API: Machine-item stuff: */ 143 void activate ();143 void activateMachineItem(); 144 144 145 145 /* API: Drag&drop stuff: */
Note:
See TracChangeset
for help on using the changeset viewer.