Changeset 78324 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Apr 26, 2019 1:20:04 PM (6 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/globals
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMainEventListener.cpp
r77989 r78324 307 307 { 308 308 CStorageControllerChangedEvent comEventSpecific(pEvent); 309 emit sigStorageControllerChange(); 309 emit sigStorageControllerChange(comEventSpecific.GetMachinId(), 310 comEventSpecific.GetControllerName()); 310 311 break; 311 312 } -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMainEventListener.h
r77987 r78324 107 107 /** @name VirtualBox Medium related signals 108 108 * @{ */ 109 /** Notifies about storage controller change. */ 110 void sigStorageControllerChange(); 109 /** Notifies about storage controller change. 110 * @param uMachineId Brings the ID of machine corresponding controller belongs to. 111 * @param strControllerName Brings the name of controller this event is related to. */ 112 void sigStorageControllerChange(const QUuid &uMachineId, const QString &strControllerName); 111 113 /** Notifies about storage device change. 112 114 * @param comAttachment Brings corresponding attachment. -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIVirtualBoxEventHandler.cpp
r77990 r78324 57 57 void sigSnapshotRestore(const QUuid &uId, const QUuid &uSnapshotId); 58 58 59 /** Notifies about storage controller change. */ 60 void sigStorageControllerChange(); 59 /** Notifies about storage controller change. 60 * @param uMachineId Brings the ID of machine corresponding controller belongs to. 61 * @param strControllerName Brings the name of controller this event is related to. */ 62 void sigStorageControllerChange(const QUuid &uMachineId, const QString &strControllerName); 61 63 /** Notifies about storage device change. 62 64 * @param comAttachment Brings corresponding attachment. … … 226 228 this, SIGNAL(sigSnapshotRestore(QUuid, QUuid)), 227 229 Qt::DirectConnection); 228 connect(m_pQtListener->getWrapped(), SIGNAL(sigStorageControllerChange( )),229 this, SIGNAL(sigStorageControllerChange( )),230 connect(m_pQtListener->getWrapped(), SIGNAL(sigStorageControllerChange(QUuid, QString)), 231 this, SIGNAL(sigStorageControllerChange(QUuid, QString)), 230 232 Qt::DirectConnection); 231 233 connect(m_pQtListener->getWrapped(), SIGNAL(sigStorageDeviceChange(CMediumAttachment, bool, bool)), … … 238 240 this, SIGNAL(sigMediumConfigChange(CMedium)), 239 241 Qt::DirectConnection); 240 connect(m_pQtListener->getWrapped(), SIGNAL(sigMediumRegistered( const QUuid &, KDeviceType, bool)),241 this, SIGNAL(sigMediumRegistered( const QUuid &, KDeviceType, bool)),242 connect(m_pQtListener->getWrapped(), SIGNAL(sigMediumRegistered(QUuid, KDeviceType, bool)), 243 this, SIGNAL(sigMediumRegistered(QUuid, KDeviceType, bool)), 242 244 Qt::DirectConnection); 243 245 } … … 339 341 this, SIGNAL(sigSnapshotRestore(QUuid, QUuid)), 340 342 Qt::QueuedConnection); 341 connect(m_pProxy, SIGNAL(sigStorageControllerChange( )),342 this, SIGNAL(sigStorageControllerChange( )),343 connect(m_pProxy, SIGNAL(sigStorageControllerChange(QUuid, QString)), 344 this, SIGNAL(sigStorageControllerChange(QUuid, QString)), 343 345 Qt::QueuedConnection); 344 346 connect(m_pProxy, SIGNAL(sigStorageDeviceChange(CMediumAttachment, bool, bool)), … … 351 353 this, SIGNAL(sigMediumConfigChange(CMedium)), 352 354 Qt::QueuedConnection); 353 connect(m_pProxy, SIGNAL(sigMediumRegistered( const QUuid &, KDeviceType, bool)),354 this, SIGNAL(sigMediumRegistered( const QUuid &, KDeviceType, bool)),355 connect(m_pProxy, SIGNAL(sigMediumRegistered(QUuid, KDeviceType, bool)), 356 this, SIGNAL(sigMediumRegistered(QUuid, KDeviceType, bool)), 355 357 Qt::QueuedConnection); 356 358 } -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIVirtualBoxEventHandler.h
r77990 r78324 64 64 void sigSnapshotRestore(const QUuid &uId, const QUuid &uSnapshotId); 65 65 66 /** Notifies about storage controller change. */ 67 void sigStorageControllerChange(); 66 /** Notifies about storage controller change. 67 * @param uMachineId Brings the ID of machine corresponding controller belongs to. 68 * @param strControllerName Brings the name of controller this event is related to. */ 69 void sigStorageControllerChange(const QUuid &uMachineId, const QString &strControllerName); 68 70 /** Notifies about storage device change. 69 71 * @param comAttachment Brings corresponding attachment.
Note:
See TracChangeset
for help on using the changeset viewer.