- Timestamp:
- Nov 3, 2022 1:30:38 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 154382
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/manager
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp
r97278 r97382 1035 1035 } 1036 1036 1037 void UIVirtualBoxManager::sltOpen MachineSettingsDialog(QString strCategory /* = QString() */,1038 1039 1037 void UIVirtualBoxManager::sltOpenSettingsDialog(QString strCategory /* = QString() */, 1038 QString strControl /* = QString() */, 1039 const QUuid &uID /* = QString() */) 1040 1040 { 1041 1041 /* Lock the action preventing cascade calls: */ … … 2179 2179 this, &UIVirtualBoxManager::sltHandleToolTypeChange); 2180 2180 connect(m_pWidget, &UIVirtualBoxManagerWidget::sigMachineSettingsLinkClicked, 2181 this, &UIVirtualBoxManager::sltOpen MachineSettingsDialog);2181 this, &UIVirtualBoxManager::sltOpenSettingsDialog); 2182 2182 connect(m_pWidget, &UIVirtualBoxManagerWidget::sigCurrentSnapshotItemChange, 2183 2183 this, &UIVirtualBoxManager::sltCurrentSnapshotItemChange); … … 2256 2256 this, &UIVirtualBoxManager::sltOpenAddMachineDialog); 2257 2257 connect(actionPool()->action(UIActionIndexMN_M_Machine_S_Settings), &UIAction::triggered, 2258 this, &UIVirtualBoxManager::sltOpen MachineSettingsDialogDefault);2258 this, &UIVirtualBoxManager::sltOpenSettingsDialogDefault); 2259 2259 connect(actionPool()->action(UIActionIndexMN_M_Machine_S_Clone), &UIAction::triggered, 2260 2260 this, &UIVirtualBoxManager::sltOpenCloneMachineWizard); -
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.h
r97277 r97382 212 212 void sltDisbandGroup(); 213 213 214 /** Handles call to open MachineSettings dialog.214 /** Handles call to open Settings dialog. 215 215 * @param strCategory can bring the settings category to start from. 216 216 * @param strControl can bring the widget of the page to focus. 217 217 * @param uID can bring the ID of machine to manage. */ 218 void sltOpen MachineSettingsDialog(QString strCategory = QString(),219 220 221 /** Handles call to open MachineSettings dialog the default way. */222 void sltOpen MachineSettingsDialogDefault() { sltOpenMachineSettingsDialog(); }218 void sltOpenSettingsDialog(QString strCategory = QString(), 219 QString strControl = QString(), 220 const QUuid &uID = QUuid()); 221 /** Handles call to open Settings dialog the default way. */ 222 void sltOpenSettingsDialogDefault() { sltOpenSettingsDialog(); } 223 223 224 224 /** Handles call to open Clone Machine wizard. */
Note:
See TracChangeset
for help on using the changeset viewer.