VirtualBox

Changeset 86687 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 23, 2020 1:46:16 PM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9653: VirtualBox Manager: Cloud Profile Manager: Remove sigChange and linked to it signals which were previously used to notify rest of GUI parts about Cloud Profile Manager changes cause we have corresponding Main API events now.

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  
    318318        }
    319319    }
    320 
    321     /* Notify listeners: */
    322     emit sigChange();
    323320}
    324321
     
    388385        }
    389386    }
    390 
    391     /* Notify listeners: */
    392     emit sigChange();
    393387}
    394388
     
    433427        }
    434428    }
    435 
    436     /* Notify listeners: */
    437     emit sigChange();
    438429}
    439430
     
    495486        }
    496487    }
    497 
    498     /* Notify listeners: */
    499     emit sigChange();
    500488}
    501489
     
    10861074        setWidgetToolbar(pWidget->toolbar());
    10871075#endif
    1088         connect(pWidget, &UICloudProfileManagerWidget::sigChange,
    1089                 this, &UICloudProfileManager::sigChange);
    10901076        connect(this, &UICloudProfileManager::sigDataChangeRejected,
    10911077                pWidget, &UICloudProfileManagerWidget::sltResetCloudProfileDetailsChanges);
  • trunk/src/VBox/Frontends/VirtualBox/src/cloud/profilemanager/UICloudProfileManager.h

    r86671 r86687  
    4747
    4848signals:
    49 
    50     /** Notifies listeners about dialog change. */
    51     void sigChange();
    5249
    5350    /** Notifies listeners about cloud profile details-widget @a fVisible. */
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIManagerDialog.h

    r86233 r86687  
    9191
    9292signals:
    93 
    94     /** Notifies listeners about dialog change. */
    95     void sigChange();
    9693
    9794    /** Notifies listeners about dialog should be closed. */
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/UIToolPaneGlobal.cpp

    r85508 r86687  
    173173                    /* Configure pane: */
    174174                    m_pPaneCloud->setProperty("ToolType", QVariant::fromValue(UIToolType_Cloud));
    175                     connect(m_pPaneCloud, &UICloudProfileManagerWidget::sigChange,
    176                             this, &UIToolPaneGlobal::sigCloudProfileManagerChange);
    177175
    178176                    /* Add into layout: */
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/UIToolPaneGlobal.h

    r85508 r86687  
    4848
    4949signals:
    50 
    51     /** Notifies listeners about Cloud Profile Manager change. */
    52     void sigCloudProfileManagerChange();
    5350
    5451    /** 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  
    631631        connect(m_pManagerCloudProfile, &QIManagerDialog::sigClose,
    632632                this, &UIVirtualBoxManager::sltCloseCloudProfileManagerWindow);
    633         connect(m_pManagerCloudProfile, &QIManagerDialog::sigChange,
    634                 this, &UIVirtualBoxManager::sigCloudProfileManagerChange);
    635633    }
    636634
     
    21002098    connect(m_pWidget, &UIVirtualBoxManagerWidget::sigToolTypeChange,
    21012099            this, &UIVirtualBoxManager::sltHandleToolTypeChange);
    2102     connect(m_pWidget, &UIVirtualBoxManagerWidget::sigCloudProfileManagerChange,
    2103             this, &UIVirtualBoxManager::sigCloudProfileManagerChange);
    21042100    connect(m_pWidget, &UIVirtualBoxManagerWidget::sigMachineSettingsLinkClicked,
    21052101            this, &UIVirtualBoxManager::sltOpenMachineSettingsDialog);
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.h

    r86655 r86687  
    5757    /** Notifies listeners about this window remapped to another screen. */
    5858    void sigWindowRemapped();
    59 
    60     /** Notifies listeners about Cloud Profile Manager change. */
    61     void sigCloudProfileManagerChange();
    6259
    6360public:
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.cpp

    r86655 r86687  
    574574                            if (m_pPaneChooser->isGlobalItemSelected())
    575575                                m_pPaneToolsGlobal->setActive(true);
    576                             connect(m_pPaneToolsGlobal, &UIToolPaneGlobal::sigCloudProfileManagerChange,
    577                                     this, &UIVirtualBoxManagerWidget::sigCloudProfileManagerChange);
    578576                            connect(m_pPaneToolsGlobal, &UIToolPaneGlobal::sigSwitchToMachinePerformancePane,
    579577                                    this, &UIVirtualBoxManagerWidget::sltSwitchToMachinePerformancePane);
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.h

    r86655 r86687  
    8686        /** Notifies about Tool type change. */
    8787        void sigToolTypeChange();
    88     /** @} */
    89 
    90     /** @name Tools / Cloud Profile Manager stuff.
    91       * @{ */
    92         /** Notifies listeners about Cloud Profile Manager change. */
    93         void sigCloudProfileManagerChange();
    9488    /** @} */
    9589
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVMPageBasic1.cpp

    r86590 r86687  
    3030#include "UIIconPool.h"
    3131#include "UIMessageCenter.h"
     32#include "UIVirtualBoxEventHandler.h"
    3233#include "UIVirtualBoxManager.h"
    3334#include "UIWizardAddCloudVM.h"
     
    470471
    471472    /* 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);
    475477    connect(m_pSourceComboBox, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::activated),
    476478            this, &UIWizardAddCloudVMPageBasic1::sltHandleSourceChange);
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVMPageExpert.cpp

    r86590 r86687  
    2828#include "UIIconPool.h"
    2929#include "UIMessageCenter.h"
     30#include "UIVirtualBoxEventHandler.h"
    3031#include "UIVirtualBoxManager.h"
    3132#include "UIWizardAddCloudVM.h"
     
    121122
    122123    /* 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);
    126128    connect(m_pSourceComboBox, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::activated),
    127129            this, &UIWizardAddCloudVMPageExpert::sltHandleSourceChange);
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic2.cpp

    r86590 r86687  
    3636#include "UIIconPool.h"
    3737#include "UIMessageCenter.h"
     38#include "UIVirtualBoxEventHandler.h"
    3839#include "UIVirtualBoxManager.h"
    3940#include "UIWizardExportApp.h"
     
    861862
    862863    /* 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);
    866868    connect(m_pFileSelector, &UIEmptyFilePathSelector::pathChanged,
    867869            this, &UIWizardExportAppPageBasic2::sltHandleFileSelectorChange);
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageExpert.cpp

    r86590 r86687  
    3838#include "UIIconPool.h"
    3939#include "UIMessageCenter.h"
     40#include "UIVirtualBoxEventHandler.h"
    4041#include "UIVirtualBoxManager.h"
    4142#include "UIWizardExportApp.h"
     
    406407
    407408    /* 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);
    411413    connect(m_pVMSelector, &QListWidget::itemSelectionChanged,      this, &UIWizardExportAppPageExpert::sltVMSelectionChangeHandler);
    412414    connect(m_pFileSelector, &UIEmptyFilePathSelector::pathChanged,
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageBasic1.cpp

    r86590 r86687  
    3333#include "UIIconPool.h"
    3434#include "UIMessageCenter.h"
     35#include "UIVirtualBoxEventHandler.h"
    3536#include "UIVirtualBoxManager.h"
    3637#include "UIWizardImportApp.h"
     
    635636
    636637    /* 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);
    640642    connect(m_pSourceComboBox, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::activated),
    641643            this, &UIWizardImportAppPageBasic1::sltHandleSourceChange);
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageExpert.cpp

    r86590 r86687  
    3434#include "UIIconPool.h"
    3535#include "UIMessageCenter.h"
     36#include "UIVirtualBoxEventHandler.h"
    3637#include "UIVirtualBoxManager.h"
    3738#include "UIWizardImportApp.h"
     
    241242
    242243    /* 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);
    246248    connect(m_pSourceComboBox, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::activated),
    247249            this, &UIWizardImportAppPageExpert::sltHandleSourceChange);
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageBasic1.cpp

    r86590 r86687  
    3131#include "UIIconPool.h"
    3232#include "UIMessageCenter.h"
     33#include "UIVirtualBoxEventHandler.h"
    3334#include "UIVirtualBoxManager.h"
    3435#include "UIWizardNewCloudVM.h"
     
    606607
    607608    /* 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);
    611613    connect(m_pLocationComboBox, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::activated),
    612614            this, &UIWizardNewCloudVMPageBasic1::sltHandleLocationChange);
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageExpert.cpp

    r86590 r86687  
    2929#include "UIIconPool.h"
    3030#include "UIMessageCenter.h"
     31#include "UIVirtualBoxEventHandler.h"
    3132#include "UIVirtualBoxManager.h"
    3233#include "UIWizardNewCloudVM.h"
     
    180181
    181182    /* 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);
    185187    connect(m_pLocationComboBox, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::activated),
    186188            this, &UIWizardNewCloudVMPageExpert::sltHandleLocationChange);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette