Changeset 100730 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Jul 28, 2023 3:08:35 PM (19 months ago)
- svn:sync-xref-src-repo-rev:
- 158593
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extensionpackmanager/UIExtensionPackManager.cpp
r100027 r100730 45 45 #include "UIMessageCenter.h" 46 46 #include "UINotificationCenter.h" 47 #include "UIVirtualBoxEventHandler.h" 47 48 48 49 /* COM includes: */ … … 386 387 uiCommon().setHelpKeyword(this, "ext-pack-manager"); 387 388 connect(&uiCommon(), &UICommon::sigExtensionPackInstalled, 389 this, &UIExtensionPackManagerWidget::sltHandleExtensionPackInstalled); 390 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigExtensionPackInstalled, 388 391 this, &UIExtensionPackManagerWidget::sltHandleExtensionPackInstalled); 389 392 -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMainEventListener.cpp
r100729 r100730 630 630 { 631 631 CExtPackInstalledEvent comEventSpecific(pEvent); 632 //printf("Ext. pack installed from the file: %s\n", qPrintable(comEventSpecific.GetFilename()));632 emit sigExtensionPackInstalled(comEventSpecific.GetName()); 633 633 }; 634 634 default: break; -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMainEventListener.h
r100606 r100730 123 123 /** Notifies about cloud profile with specified @a strName of provider with specified @a uProviderId is changed. */ 124 124 void sigCloudProfileChanged(const QUuid &uProviderId, const QString &strName); 125 /** Notifies about ext.pack installation @a strname is the name of the installed ext. pack. */ 126 void sigExtensionPackInstalled(const QString &strName); 125 127 /** @} */ 126 128 -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIVirtualBoxEventHandler.cpp
r100729 r100730 90 90 * @param fRegistered Brings whether medium is registered or unregistered. */ 91 91 void sigMediumRegistered(const QUuid &uMediumId, KDeviceType enmMediumType, bool fRegistered); 92 /** Notifies extension pack. install. 93 * @param strName Passes extension pack name. */ 94 void sigExtensionPackInstalled(const QString &strName); 92 95 93 96 public: … … 256 259 this, SIGNAL(sigMediumRegistered(QUuid, KDeviceType, bool)), 257 260 Qt::DirectConnection); 261 connect(m_pQtListener->getWrapped(), SIGNAL(sigExtensionPackInstalled(QString)), 262 this, SIGNAL(sigExtensionPackInstalled(QString)), 263 Qt::DirectConnection); 258 264 } 259 265 … … 377 383 this, SIGNAL(sigMediumRegistered(QUuid, KDeviceType, bool)), 378 384 Qt::QueuedConnection); 385 connect(m_pProxy, SIGNAL(sigExtensionPackInstalled(QString)), 386 this, SIGNAL(sigExtensionPackInstalled(QString)), 387 Qt::QueuedConnection); 379 388 } 380 389 -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIVirtualBoxEventHandler.h
r98309 r100730 98 98 * @param fRegistered Brings whether medium is registered or unregistered. */ 99 99 void sigMediumRegistered(const QUuid &uMediumId, KDeviceType enmMediumType, bool fRegistered); 100 /** Notifies extension pack. install. 101 * @param strName Passes extension pack name. */ 102 void sigExtensionPackInstalled(const QString &strName); 100 103 101 104 public:
Note:
See TracChangeset
for help on using the changeset viewer.