Changeset 86545 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Oct 12, 2020 2:54:02 PM (4 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMainEventListener.cpp
r86323 r86545 29 29 #include "CCanShowWindowEvent.h" 30 30 #include "CClipboardModeChangedEvent.h" 31 #include "CCloudProfileChangedEvent.h" 32 #include "CCloudProfileRegisteredEvent.h" 31 33 #include "CCloudProviderListChangedEvent.h" 32 34 #include "CCloudProviderUninstallEvent.h" … … 334 336 break; 335 337 } 338 case KVBoxEventType_OnCloudProfileRegistered: 339 { 340 CCloudProfileRegisteredEvent comEventSpecific(pEvent); 341 emit sigCloudProfileRegistered(comEventSpecific.GetProviderId(), comEventSpecific.GetName(), comEventSpecific.GetRegistered()); 342 break; 343 } 344 case KVBoxEventType_OnCloudProfileChanged: 345 { 346 CCloudProfileChangedEvent comEventSpecific(pEvent); 347 emit sigCloudProfileChanged(comEventSpecific.GetProviderId(), comEventSpecific.GetName()); 348 break; 349 } 336 350 337 351 case KVBoxEventType_OnExtraDataCanChange: -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMainEventListener.h
r86323 r86545 107 107 /** Notifies about cloud provider list changed. */ 108 108 void sigCloudProviderListChanged(); 109 /** Notifies about cloud profile with specified @a strName of provider with specified @a uProviderId is @a fRegistered. */ 110 void sigCloudProfileRegistered(const QUuid &uProviderId, const QString &strName, bool fRegistered); 111 /** Notifies about cloud profile with specified @a strName of provider with specified @a uProviderId is changed. */ 112 void sigCloudProfileChanged(const QUuid &uProviderId, const QString &strName); 109 113 /** @} */ 110 114 -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIVirtualBoxEventHandler.cpp
r86541 r86545 55 55 /** Notifies about cloud provider list changed. */ 56 56 void sigCloudProviderListChanged(); 57 /** Notifies about cloud profile with specified @a strName of provider with specified @a uProviderId is @a fRegistered. */ 58 void sigCloudProfileRegistered(const QUuid &uProviderId, const QString &strName, bool fRegistered); 59 /** Notifies about cloud profile with specified @a strName of provider with specified @a uProviderId is changed. */ 60 void sigCloudProfileChanged(const QUuid &uProviderId, const QString &strName); 57 61 58 62 /** Notifies about storage controller change. … … 164 168 << KVBoxEventType_OnCloudProviderListChanged 165 169 << KVBoxEventType_OnCloudProviderUninstall 170 << KVBoxEventType_OnCloudProfileRegistered 171 << KVBoxEventType_OnCloudProfileChanged 166 172 << KVBoxEventType_OnStorageControllerChanged 167 173 << KVBoxEventType_OnStorageDeviceChanged … … 212 218 this, SIGNAL(sigCloudProviderUninstall(QUuid)), 213 219 Qt::DirectConnection); 220 connect(m_pQtListener->getWrapped(), SIGNAL(sigCloudProfileRegistered(QUuid, QString, bool)), 221 this, SIGNAL(sigCloudProfileRegistered(QUuid, QString, bool)), 222 Qt::DirectConnection); 223 connect(m_pQtListener->getWrapped(), SIGNAL(sigCloudProfileChanged(QUuid, QString)), 224 this, SIGNAL(sigCloudProfileChanged(QUuid, QString)), 225 Qt::DirectConnection); 214 226 connect(m_pQtListener->getWrapped(), SIGNAL(sigStorageControllerChange(QUuid, QString)), 215 227 this, SIGNAL(sigStorageControllerChange(QUuid, QString)), … … 324 336 this, SIGNAL(sigCloudProviderUninstall(QUuid)), 325 337 Qt::BlockingQueuedConnection); 338 connect(m_pProxy, SIGNAL(sigCloudProfileRegistered(QUuid, QString, bool)), 339 this, SIGNAL(sigCloudProfileRegistered(QUuid, QString, bool)), 340 Qt::QueuedConnection); 341 connect(m_pProxy, SIGNAL(sigCloudProfileChanged(QUuid, QString)), 342 this, SIGNAL(sigCloudProfileChanged(QUuid, QString)), 343 Qt::QueuedConnection); 326 344 connect(m_pProxy, SIGNAL(sigStorageControllerChange(QUuid, QString)), 327 345 this, SIGNAL(sigStorageControllerChange(QUuid, QString)), -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIVirtualBoxEventHandler.h
r86154 r86545 63 63 /** Notifies about cloud provider list changed. */ 64 64 void sigCloudProviderListChanged(); 65 /** Notifies about cloud profile with specified @a strName of provider with specified @a uProviderId is @a fRegistered. */ 66 void sigCloudProfileRegistered(const QUuid &uProviderId, const QString &strName, bool fRegistered); 67 /** Notifies about cloud profile with specified @a strName of provider with specified @a uProviderId is changed. */ 68 void sigCloudProfileChanged(const QUuid &uProviderId, const QString &strName); 65 69 66 70 /** Notifies about storage controller change. -
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserAbstractModel.cpp
r86544 r86545 818 818 this, &UIChooserAbstractModel::sltSnapshotChanged); 819 819 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProviderListChanged, 820 this, &UIChooserAbstractModel::sltHandleCloudProfileManagerCumulativeChange); 821 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileRegistered, 822 this, &UIChooserAbstractModel::sltHandleCloudProfileManagerCumulativeChange); 823 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileChanged, 820 824 this, &UIChooserAbstractModel::sltHandleCloudProfileManagerCumulativeChange); 821 825 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProviderUninstall,
Note:
See TracChangeset
for help on using the changeset viewer.