VirtualBox

Ignore:
Timestamp:
Dec 2, 2015 12:41:53 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
104457
Message:

FE/Qt: Qt5 migration (part 26): Qt5 vs LONG64 conflict.

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

Legend:

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

    r57873 r58947  
    262262            CShowWindowEvent es(pEvent);
    263263            /* Has to be done in place to give an answer: */
    264             LONG64 winId = es.GetWinId();
     264            qint64 winId = es.GetWinId();
    265265            if (winId != 0)
    266266                break; /* Already set by some listener. */
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMainEventListener.h

    r58867 r58947  
    112112    void sigCanShowWindow(bool &fVeto, QString &strReason); /* use Qt::DirectConnection */
    113113    /** Notifies about VM window with specified @a winId should be shown. */
    114     void sigShowWindow(LONG64 &winId); /* use Qt::DirectConnection */
     114    void sigShowWindow(qint64 &winId); /* use Qt::DirectConnection */
    115115
    116116public:
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIConsoleEventHandler.cpp

    r57873 r58947  
    6565}
    6666
    67 void UIConsoleEventHandler::sltShowWindow(LONG64 &winId)
     67void UIConsoleEventHandler::sltShowWindow(qint64 &winId)
    6868{
    6969#ifdef Q_WS_MAC
     
    192192    /* This returns a winId, so we have to respond to the event and have to use
    193193     * a direct connection therefor. */
    194     connect(pListener->getWrapped(), SIGNAL(sigShowWindow(LONG64&)),
    195             this, SLOT(sltShowWindow(LONG64&)),
     194    connect(pListener->getWrapped(), SIGNAL(sigShowWindow(qint64&)),
     195            this, SLOT(sltShowWindow(qint64&)),
    196196            Qt::DirectConnection);
    197197}
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIConsoleEventHandler.h

    r58867 r58947  
    9292    void sltCanShowWindow(bool &fVeto, QString &strReason);
    9393    /** Shows VM window if possible. */
    94     void sltShowWindow(LONG64 &winId);
     94    void sltShowWindow(qint64 &winId);
    9595
    9696private:
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette