VirtualBox

Changeset 35094 in vbox for trunk/src


Ignore:
Timestamp:
Dec 14, 2010 3:20:30 PM (14 years ago)
Author:
vboxsync
Message:

message parent fix.

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxProblemReporter.cpp

    r35079 r35094  
    21262126}
    21272127
    2128 void VBoxProblemReporter::cannotOpenExtPack(const QString &strFilename, const CExtPackManager &extPackManager, QWidget *pParent /* = 0 */)
     2128void VBoxProblemReporter::cannotOpenExtPack(const QString &strFilename, const CExtPackManager &extPackManager, QWidget *pParent)
    21292129{
    21302130    message (pParent ? pParent : mainWindowShown(),
     
    21342134}
    21352135
    2136 void VBoxProblemReporter::badExtPackFile(const QString &strFilename, const CExtPackFile &extPackFile, QWidget *pParent /* = 0 */)
     2136void VBoxProblemReporter::badExtPackFile(const QString &strFilename, const CExtPackFile &extPackFile, QWidget *pParent)
    21372137{
    21382138    message (pParent ? pParent : mainWindowShown(),
     
    21422142}
    21432143
    2144 void VBoxProblemReporter::cannotInstallExtPack(const QString &strFilename, const CExtPackFile &extPackFile, QWidget *pParent /* = 0 */)
     2144void VBoxProblemReporter::cannotInstallExtPack(const QString &strFilename, const CExtPackFile &extPackFile, QWidget *pParent)
    21452145{
    21462146    message (pParent ? pParent : mainWindowShown(),
     
    21502150}
    21512151
    2152 void VBoxProblemReporter::cannotUninstallExtPack(const QString &strPackName, const CExtPackManager &extPackManager, QWidget *pParent /* = 0 */)
     2152void VBoxProblemReporter::cannotUninstallExtPack(const QString &strPackName, const CExtPackManager &extPackManager, QWidget *pParent)
    21532153{
    21542154    message (pParent ? pParent : mainWindowShown(),
     
    21592159
    21602160bool VBoxProblemReporter::confirmInstallingPackage(const QString &strPackName, const QString &strPackVersion,
    2161                                                    const QString &strPackDescription, QWidget *pParent /* = 0 */)
     2161                                                   const QString &strPackDescription, QWidget *pParent)
    21622162{
    21632163    return messageOkCancel (pParent ? pParent : mainWindowShown(),
     
    21792179bool VBoxProblemReporter::confirmReplacePackage(const QString &strPackName, const QString &strPackVersionNew,
    21802180                                                const QString &strPackVersionOld, const QString &strPackDescription,
    2181                                                 QWidget *pParent /* = 0 */)
     2181                                                QWidget *pParent)
    21822182{
    21832183    if (!pParent)
     
    22382238}
    22392239
    2240 bool VBoxProblemReporter::confirmRemovingPackage(const QString &strPackName, QWidget *pParent /* = 0 */)
     2240bool VBoxProblemReporter::confirmRemovingPackage(const QString &strPackName, QWidget *pParent)
    22412241{
    22422242    return messageOkCancel (pParent ? pParent : mainWindowShown(),
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxProblemReporter.h

    r35079 r35094  
    340340    void cannotUpdateGuestAdditions (const CProgress &aProgress, QWidget *aParent /* = NULL */) const;
    341341
    342     void cannotOpenExtPack(const QString &strFilename, const CExtPackManager &extPackManager, QWidget *pParent = 0);
    343     void badExtPackFile(const QString &strFilename, const CExtPackFile &extPackFile, QWidget *pParent = 0);
    344     void cannotInstallExtPack(const QString &strFilename, const CExtPackFile &extPackFile, QWidget *pParent = 0);
    345     void cannotUninstallExtPack(const QString &strPackName, const CExtPackManager &extPackManager, QWidget *pParent = 0);
    346     bool confirmInstallingPackage(const QString &strPackName, const QString &strPackVersion, const QString &strPackDescription, QWidget *pParent = 0);
     342    void cannotOpenExtPack(const QString &strFilename, const CExtPackManager &extPackManager, QWidget *pParent);
     343    void badExtPackFile(const QString &strFilename, const CExtPackFile &extPackFile, QWidget *pParent);
     344    void cannotInstallExtPack(const QString &strFilename, const CExtPackFile &extPackFile, QWidget *pParent);
     345    void cannotUninstallExtPack(const QString &strPackName, const CExtPackManager &extPackManager, QWidget *pParent);
     346    bool confirmInstallingPackage(const QString &strPackName, const QString &strPackVersion, const QString &strPackDescription, QWidget *pParent);
    347347    bool confirmReplacePackage(const QString &strPackName, const QString &strPackVersionNew, const QString &strPackVersionOld,
    348                                const QString &strPackDescription, QWidget *pParent = 0);
    349     bool confirmRemovingPackage(const QString &strPackName, QWidget *pParent = 0);
    350     void notifyAboutExtPackInstalled(const QString &strPackName, QWidget *pParent = 0);
     348                               const QString &strPackDescription, QWidget *pParent);
     349    bool confirmRemovingPackage(const QString &strPackName, QWidget *pParent);
     350    void notifyAboutExtPackInstalled(const QString &strPackName, QWidget *pParent);
    351351
    352352    void warnAboutIncorrectPort(QWidget *pParent) const;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsExtension.cpp

    r35083 r35094  
    148148    {
    149149        QString strPackVersionCur = QString("%1r%2").arg(extPackCur.GetVersion()).arg(extPackCur.GetRevision());
    150         if (!vboxProblem().confirmReplacePackage(strPackName, strPackVersion, strPackVersionCur, strPackDescription))
     150        if (!vboxProblem().confirmReplacePackage(strPackName, strPackVersion, strPackVersionCur, strPackDescription, pParent))
    151151            return;
    152152    }
     
    156156    else
    157157    {
    158         if (!vboxProblem().confirmInstallingPackage(strPackName, strPackVersion, strPackDescription))
     158        if (!vboxProblem().confirmInstallingPackage(strPackName, strPackVersion, strPackDescription, pParent))
    159159            return;
    160160    }
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