VirtualBox

Ignore:
Timestamp:
Jul 2, 2008 3:00:14 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
32622
Message:

FE/Qt4: Make it compile without the Qt3Support library at least on Linux & OS X.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleView.cpp

    r9495 r10112  
    15161516                QMouseEvent *me = (QMouseEvent *) e;
    15171517                if (mouseEvent (me->type(), me->pos(), me->globalPos(),
    1518                                 me->button(), me->buttons(), me->modifiers(),
     1518                                me->buttons(), me->modifiers(),
    15191519                                0, Qt::Horizontal))
    15201520                    return true; /* stop further event handling */
     
    15251525                QWheelEvent *we = (QWheelEvent *) e;
    15261526                if (mouseEvent (we->type(), we->pos(), we->globalPos(),
    1527                                 Qt::NoButton, we->buttons(), we->modifiers(),
     1527                                we->buttons(), we->modifiers(),
    15281528                                we->delta(), we->orientation()))
    15291529                    return true; /* stop further event handling */
     
    26512651 *  @return     true to consume the event and false to pass it to Qt
    26522652 */
    2653 bool VBoxConsoleView::mouseEvent (int aType, const QPoint &aPos,
    2654                                   const QPoint &aGlobalPos, Qt::ButtonState aButton,
     2653bool VBoxConsoleView::mouseEvent (int aType, const QPoint &aPos, const QPoint &aGlobalPos,
    26552654                                  Qt::MouseButtons aButtons, Qt::KeyboardModifiers aModifiers,
    26562655                                  int aWheelDelta, Qt::Orientation aWheelDir)
     
    26612660             "MOUSE: type=%03d x=%03d y=%03d btn=%03d btns=%08X mod=%08X "
    26622661             "wdelta=%03d wdir=%03d",
    2663              aType, aPos.x(), aPos.y(), aButton, aButtons, aModifiers,
     2662             aType, aPos.x(), aPos.y(), aButtons, aModifiers,
    26642663             aWheelDelta, aWheelDir);
    26652664    mMainWnd->statusBar()->message (buf);
    26662665#else
    2667     Q_UNUSED (aButton);
    26682666    Q_UNUSED (aModifiers);
    26692667#endif
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