Changeset 80760 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Sep 12, 2019 12:21:45 PM (5 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIActionPoolRuntime.cpp
r80723 r80760 3469 3469 { 3470 3470 /* Prepare connections: */ 3471 connect(gShortcutPool, SIGNAL(sigSelectorShortcutsReloaded()), this, SLOT(sltApplyShortcuts())); 3472 connect(gShortcutPool, SIGNAL(sigMachineShortcutsReloaded()), this, SLOT(sltApplyShortcuts())); 3473 connect(gEDataManager, SIGNAL(sigMenuBarConfigurationChange(const QUuid &)), 3474 this, SLOT(sltHandleConfigurationChange(const QUuid &))); 3471 connect(gShortcutPool, &UIShortcutPool::sigSelectorShortcutsReloaded, 3472 this, &UIActionPoolRuntime::sltApplyShortcuts); 3473 connect(gShortcutPool, &UIShortcutPool::sigMachineShortcutsReloaded, 3474 this, &UIActionPoolRuntime::sltApplyShortcuts); 3475 connect(gEDataManager, &UIExtraDataManager::sigMenuBarConfigurationChange, 3476 this, &UIActionPoolRuntime::sltHandleConfigurationChange); 3475 3477 3476 3478 /* Call to base-class: */ … … 3772 3774 QApplication::translate("UIMultiScreenLayout", "Virtual Screen %1").arg(iGuestScreenIndex + 1)); 3773 3775 pSubMenu->setProperty("Guest Screen Index", iGuestScreenIndex); 3774 connect(pSubMenu, SIGNAL(aboutToShow()), this, SLOT(sltPrepareMenuViewScreen()));3776 connect(pSubMenu, &QMenu::aboutToShow, this, &UIActionPoolRuntime::sltPrepareMenuViewScreen); 3775 3777 } 3776 3778 } … … 3815 3817 QApplication::translate("UIMultiScreenLayout", "Virtual Screen %1").arg(iGuestScreenIndex + 1)); 3816 3818 pSubMenu->setProperty("Guest Screen Index", iGuestScreenIndex); 3817 connect(pSubMenu, SIGNAL(aboutToShow()), this, SLOT(sltPrepareMenuViewScreen()));3819 connect(pSubMenu, &QMenu::aboutToShow, this, &UIActionPoolRuntime::sltPrepareMenuViewScreen); 3818 3820 } 3819 3821 } -
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserAbstractModel.cpp
r79365 r80760 590 590 UIThreadGroupDefinitionSave::prepare(); 591 591 emit sigGroupSavingStateChanged(); 592 connect(UIThreadGroupDefinitionSave::instance(), SIGNAL(sigReload(QUuid)),593 this, SLOT(sltReloadMachine(QUuid)));592 connect(UIThreadGroupDefinitionSave::instance(), &UIThreadGroupDefinitionSave::sigReload, 593 this, &UIChooserAbstractModel::sltReloadMachine); 594 594 UIThreadGroupDefinitionSave::instance()->configure(this, m_groups, groups); 595 595 UIThreadGroupDefinitionSave::instance()->start(); … … 712 712 m_oldLists = oldLists; 713 713 m_newLists = newLists; 714 connect(this, SIGNAL(sigComplete()), pParent, SLOT(sltGroupDefinitionsSaveComplete())); 714 connect(this, &UIThreadGroupDefinitionSave::sigComplete, 715 qobject_cast<UIChooserAbstractModel*>(pParent), &UIChooserAbstractModel::sltGroupDefinitionsSaveComplete); 715 716 } 716 717 … … 837 838 { 838 839 m_groups = groups; 839 connect(this, SIGNAL(sigComplete()), pParent, SLOT(sltGroupOrdersSaveComplete())); 840 connect(this, &UIThreadGroupOrderSave::sigComplete, 841 qobject_cast<UIChooserAbstractModel*>(pParent), &UIChooserAbstractModel::sltGroupOrdersSaveComplete); 840 842 } 841 843 -
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserAbstractModel.h
r77948 r80760 99 99 /** @} */ 100 100 101 public slots: 102 103 /** @name Group saving stuff. 104 * @{ */ 105 /** Handles group definition saving complete. */ 106 void sltGroupDefinitionsSaveComplete(); 107 /** Handles group order saving complete. */ 108 void sltGroupOrdersSaveComplete(); 109 /** @} */ 110 101 111 protected slots: 102 112 … … 127 137 /** Handles request to start group saving. */ 128 138 void sltStartGroupSaving(); 129 /** Handles group definition saving complete. */130 void sltGroupDefinitionsSaveComplete();131 /** Handles group order saving complete. */132 void sltGroupOrdersSaveComplete();133 139 /** @} */ 134 140
Note:
See TracChangeset
for help on using the changeset viewer.