Changeset 86687 in vbox for trunk/src/VBox
- Timestamp:
- Oct 23, 2020 1:46:16 PM (4 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/cloud/profilemanager/UICloudProfileManager.cpp
r86672 r86687 318 318 } 319 319 } 320 321 /* Notify listeners: */322 emit sigChange();323 320 } 324 321 … … 388 385 } 389 386 } 390 391 /* Notify listeners: */392 emit sigChange();393 387 } 394 388 … … 433 427 } 434 428 } 435 436 /* Notify listeners: */437 emit sigChange();438 429 } 439 430 … … 495 486 } 496 487 } 497 498 /* Notify listeners: */499 emit sigChange();500 488 } 501 489 … … 1086 1074 setWidgetToolbar(pWidget->toolbar()); 1087 1075 #endif 1088 connect(pWidget, &UICloudProfileManagerWidget::sigChange,1089 this, &UICloudProfileManager::sigChange);1090 1076 connect(this, &UICloudProfileManager::sigDataChangeRejected, 1091 1077 pWidget, &UICloudProfileManagerWidget::sltResetCloudProfileDetailsChanges); -
trunk/src/VBox/Frontends/VirtualBox/src/cloud/profilemanager/UICloudProfileManager.h
r86671 r86687 47 47 48 48 signals: 49 50 /** Notifies listeners about dialog change. */51 void sigChange();52 49 53 50 /** Notifies listeners about cloud profile details-widget @a fVisible. */ -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIManagerDialog.h
r86233 r86687 91 91 92 92 signals: 93 94 /** Notifies listeners about dialog change. */95 void sigChange();96 93 97 94 /** Notifies listeners about dialog should be closed. */ -
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIToolPaneGlobal.cpp
r85508 r86687 173 173 /* Configure pane: */ 174 174 m_pPaneCloud->setProperty("ToolType", QVariant::fromValue(UIToolType_Cloud)); 175 connect(m_pPaneCloud, &UICloudProfileManagerWidget::sigChange,176 this, &UIToolPaneGlobal::sigCloudProfileManagerChange);177 175 178 176 /* Add into layout: */ -
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIToolPaneGlobal.h
r85508 r86687 48 48 49 49 signals: 50 51 /** Notifies listeners about Cloud Profile Manager change. */52 void sigCloudProfileManagerChange();53 50 54 51 /** Notifies listeners about request to switch to Performance pane of machine with @a uMachineId. */ -
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp
r86655 r86687 631 631 connect(m_pManagerCloudProfile, &QIManagerDialog::sigClose, 632 632 this, &UIVirtualBoxManager::sltCloseCloudProfileManagerWindow); 633 connect(m_pManagerCloudProfile, &QIManagerDialog::sigChange,634 this, &UIVirtualBoxManager::sigCloudProfileManagerChange);635 633 } 636 634 … … 2100 2098 connect(m_pWidget, &UIVirtualBoxManagerWidget::sigToolTypeChange, 2101 2099 this, &UIVirtualBoxManager::sltHandleToolTypeChange); 2102 connect(m_pWidget, &UIVirtualBoxManagerWidget::sigCloudProfileManagerChange,2103 this, &UIVirtualBoxManager::sigCloudProfileManagerChange);2104 2100 connect(m_pWidget, &UIVirtualBoxManagerWidget::sigMachineSettingsLinkClicked, 2105 2101 this, &UIVirtualBoxManager::sltOpenMachineSettingsDialog); -
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.h
r86655 r86687 57 57 /** Notifies listeners about this window remapped to another screen. */ 58 58 void sigWindowRemapped(); 59 60 /** Notifies listeners about Cloud Profile Manager change. */61 void sigCloudProfileManagerChange();62 59 63 60 public: -
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.cpp
r86655 r86687 574 574 if (m_pPaneChooser->isGlobalItemSelected()) 575 575 m_pPaneToolsGlobal->setActive(true); 576 connect(m_pPaneToolsGlobal, &UIToolPaneGlobal::sigCloudProfileManagerChange,577 this, &UIVirtualBoxManagerWidget::sigCloudProfileManagerChange);578 576 connect(m_pPaneToolsGlobal, &UIToolPaneGlobal::sigSwitchToMachinePerformancePane, 579 577 this, &UIVirtualBoxManagerWidget::sltSwitchToMachinePerformancePane); -
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.h
r86655 r86687 86 86 /** Notifies about Tool type change. */ 87 87 void sigToolTypeChange(); 88 /** @} */89 90 /** @name Tools / Cloud Profile Manager stuff.91 * @{ */92 /** Notifies listeners about Cloud Profile Manager change. */93 void sigCloudProfileManagerChange();94 88 /** @} */ 95 89 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVMPageBasic1.cpp
r86590 r86687 30 30 #include "UIIconPool.h" 31 31 #include "UIMessageCenter.h" 32 #include "UIVirtualBoxEventHandler.h" 32 33 #include "UIVirtualBoxManager.h" 33 34 #include "UIWizardAddCloudVM.h" … … 470 471 471 472 /* Setup connections: */ 472 if (gpManager) 473 connect(gpManager, &UIVirtualBoxManager::sigCloudProfileManagerChange, 474 this, &UIWizardAddCloudVMPageBasic1::sltHandleSourceChange); 473 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileRegistered, 474 this, &UIWizardAddCloudVMPageBasic1::sltHandleSourceChange); 475 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileChanged, 476 this, &UIWizardAddCloudVMPageBasic1::sltHandleSourceChange); 475 477 connect(m_pSourceComboBox, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::activated), 476 478 this, &UIWizardAddCloudVMPageBasic1::sltHandleSourceChange); -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVMPageExpert.cpp
r86590 r86687 28 28 #include "UIIconPool.h" 29 29 #include "UIMessageCenter.h" 30 #include "UIVirtualBoxEventHandler.h" 30 31 #include "UIVirtualBoxManager.h" 31 32 #include "UIWizardAddCloudVM.h" … … 121 122 122 123 /* Setup connections: */ 123 if (gpManager) 124 connect(gpManager, &UIVirtualBoxManager::sigCloudProfileManagerChange, 125 this, &UIWizardAddCloudVMPageExpert::sltHandleSourceChange); 124 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileRegistered, 125 this, &UIWizardAddCloudVMPageExpert::sltHandleSourceChange); 126 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileChanged, 127 this, &UIWizardAddCloudVMPageExpert::sltHandleSourceChange); 126 128 connect(m_pSourceComboBox, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::activated), 127 129 this, &UIWizardAddCloudVMPageExpert::sltHandleSourceChange); -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic2.cpp
r86590 r86687 36 36 #include "UIIconPool.h" 37 37 #include "UIMessageCenter.h" 38 #include "UIVirtualBoxEventHandler.h" 38 39 #include "UIVirtualBoxManager.h" 39 40 #include "UIWizardExportApp.h" … … 861 862 862 863 /* Setup connections: */ 863 if (gpManager) 864 connect(gpManager, &UIVirtualBoxManager::sigCloudProfileManagerChange, 865 this, &UIWizardExportAppPageBasic2::sltHandleFormatComboChange); 864 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileRegistered, 865 this, &UIWizardExportAppPageBasic2::sltHandleFormatComboChange); 866 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileChanged, 867 this, &UIWizardExportAppPageBasic2::sltHandleFormatComboChange); 866 868 connect(m_pFileSelector, &UIEmptyFilePathSelector::pathChanged, 867 869 this, &UIWizardExportAppPageBasic2::sltHandleFileSelectorChange); -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageExpert.cpp
r86590 r86687 38 38 #include "UIIconPool.h" 39 39 #include "UIMessageCenter.h" 40 #include "UIVirtualBoxEventHandler.h" 40 41 #include "UIVirtualBoxManager.h" 41 42 #include "UIWizardExportApp.h" … … 406 407 407 408 /* Setup connections: */ 408 if (gpManager) 409 connect(gpManager, &UIVirtualBoxManager::sigCloudProfileManagerChange, 410 this, &UIWizardExportAppPageExpert::sltHandleFormatComboChange); 409 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileRegistered, 410 this, &UIWizardExportAppPageExpert::sltHandleFormatComboChange); 411 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileChanged, 412 this, &UIWizardExportAppPageExpert::sltHandleFormatComboChange); 411 413 connect(m_pVMSelector, &QListWidget::itemSelectionChanged, this, &UIWizardExportAppPageExpert::sltVMSelectionChangeHandler); 412 414 connect(m_pFileSelector, &UIEmptyFilePathSelector::pathChanged, -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageBasic1.cpp
r86590 r86687 33 33 #include "UIIconPool.h" 34 34 #include "UIMessageCenter.h" 35 #include "UIVirtualBoxEventHandler.h" 35 36 #include "UIVirtualBoxManager.h" 36 37 #include "UIWizardImportApp.h" … … 635 636 636 637 /* Setup connections: */ 637 if (gpManager) 638 connect(gpManager, &UIVirtualBoxManager::sigCloudProfileManagerChange, 639 this, &UIWizardImportAppPageBasic1::sltHandleSourceChange); 638 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileRegistered, 639 this, &UIWizardImportAppPageBasic1::sltHandleSourceChange); 640 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileChanged, 641 this, &UIWizardImportAppPageBasic1::sltHandleSourceChange); 640 642 connect(m_pSourceComboBox, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::activated), 641 643 this, &UIWizardImportAppPageBasic1::sltHandleSourceChange); -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageExpert.cpp
r86590 r86687 34 34 #include "UIIconPool.h" 35 35 #include "UIMessageCenter.h" 36 #include "UIVirtualBoxEventHandler.h" 36 37 #include "UIVirtualBoxManager.h" 37 38 #include "UIWizardImportApp.h" … … 241 242 242 243 /* Setup connections: */ 243 if (gpManager) 244 connect(gpManager, &UIVirtualBoxManager::sigCloudProfileManagerChange, 245 this, &UIWizardImportAppPageExpert::sltHandleSourceChange); 244 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileRegistered, 245 this, &UIWizardImportAppPageExpert::sltHandleSourceChange); 246 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileChanged, 247 this, &UIWizardImportAppPageExpert::sltHandleSourceChange); 246 248 connect(m_pSourceComboBox, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::activated), 247 249 this, &UIWizardImportAppPageExpert::sltHandleSourceChange); -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageBasic1.cpp
r86590 r86687 31 31 #include "UIIconPool.h" 32 32 #include "UIMessageCenter.h" 33 #include "UIVirtualBoxEventHandler.h" 33 34 #include "UIVirtualBoxManager.h" 34 35 #include "UIWizardNewCloudVM.h" … … 606 607 607 608 /* Setup connections: */ 608 if (gpManager) 609 connect(gpManager, &UIVirtualBoxManager::sigCloudProfileManagerChange, 610 this, &UIWizardNewCloudVMPageBasic1::sltHandleLocationChange); 609 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileRegistered, 610 this, &UIWizardNewCloudVMPageBasic1::sltHandleLocationChange); 611 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileChanged, 612 this, &UIWizardNewCloudVMPageBasic1::sltHandleLocationChange); 611 613 connect(m_pLocationComboBox, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::activated), 612 614 this, &UIWizardNewCloudVMPageBasic1::sltHandleLocationChange); -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageExpert.cpp
r86590 r86687 29 29 #include "UIIconPool.h" 30 30 #include "UIMessageCenter.h" 31 #include "UIVirtualBoxEventHandler.h" 31 32 #include "UIVirtualBoxManager.h" 32 33 #include "UIWizardNewCloudVM.h" … … 180 181 181 182 /* Setup connections: */ 182 if (gpManager) 183 connect(gpManager, &UIVirtualBoxManager::sigCloudProfileManagerChange, 184 this, &UIWizardNewCloudVMPageExpert::sltHandleLocationChange); 183 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileRegistered, 184 this, &UIWizardNewCloudVMPageExpert::sltHandleLocationChange); 185 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileChanged, 186 this, &UIWizardNewCloudVMPageExpert::sltHandleLocationChange); 185 187 connect(m_pLocationComboBox, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::activated), 186 188 this, &UIWizardNewCloudVMPageExpert::sltHandleLocationChange);
Note:
See TracChangeset
for help on using the changeset viewer.