Changeset 100730 in vbox
- Timestamp:
- Jul 28, 2023 3:08:35 PM (16 months ago)
- Location:
- trunk/src/VBox
- Files:
-
- 8 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: -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r100729 r100730 26919 26919 <const name="OnExtPackInstalled" value="123"> 26920 26920 <desc> 26921 See <link to="I ClipboardErrorEvent">IClipboardErrorEvent</link>.26921 See <link to="IExtPackInstalledEvent">IExtPackInstalledEvent</link>. 26922 26922 </desc> 26923 26923 </const> … … 27281 27281 > 27282 27282 <desc>Extension pack installed event.</desc> 27283 <attribute name=" filename" readonly="yes" type="wstring">27284 <desc> 27285 Name of the extension pack install file.27283 <attribute name="name" readonly="yes" type="wstring"> 27284 <desc> 27285 Name of the extension pack. 27286 27286 </desc> 27287 27287 </attribute> -
trunk/src/VBox/Main/include/VirtualBoxImpl.h
r100729 r100730 228 228 229 229 #ifdef VBOX_WITH_EXTPACK 230 void i_onExtPackInstalled(const Utf8Str &aExtPack InstallFile);230 void i_onExtPackInstalled(const Utf8Str &aExtPackName); 231 231 #endif 232 232 -
trunk/src/VBox/Main/src-server/VirtualBoxImpl.cpp
r100729 r100730 3792 3792 3793 3793 #ifdef VBOX_WITH_EXTPACK 3794 void VirtualBox::i_onExtPackInstalled(const Utf8Str &aExtPack InstallFile)3795 { 3796 ::FireExtPackInstalledEvent(m->pEventSource, aExtPack InstallFile);3794 void VirtualBox::i_onExtPackInstalled(const Utf8Str &aExtPackName) 3795 { 3796 ::FireExtPackInstalledEvent(m->pEventSource, aExtPackName); 3797 3797 } 3798 3798 #endif
Note:
See TracChangeset
for help on using the changeset viewer.