Changeset 10112 in vbox for trunk/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleView.cpp
- Timestamp:
- Jul 2, 2008 3:00:14 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 32622
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleView.cpp
r9495 r10112 1516 1516 QMouseEvent *me = (QMouseEvent *) e; 1517 1517 if (mouseEvent (me->type(), me->pos(), me->globalPos(), 1518 me->button (), me->buttons(), me->modifiers(),1518 me->buttons(), me->modifiers(), 1519 1519 0, Qt::Horizontal)) 1520 1520 return true; /* stop further event handling */ … … 1525 1525 QWheelEvent *we = (QWheelEvent *) e; 1526 1526 if (mouseEvent (we->type(), we->pos(), we->globalPos(), 1527 Qt::NoButton,we->buttons(), we->modifiers(),1527 we->buttons(), we->modifiers(), 1528 1528 we->delta(), we->orientation())) 1529 1529 return true; /* stop further event handling */ … … 2651 2651 * @return true to consume the event and false to pass it to Qt 2652 2652 */ 2653 bool VBoxConsoleView::mouseEvent (int aType, const QPoint &aPos, 2654 const QPoint &aGlobalPos, Qt::ButtonState aButton, 2653 bool VBoxConsoleView::mouseEvent (int aType, const QPoint &aPos, const QPoint &aGlobalPos, 2655 2654 Qt::MouseButtons aButtons, Qt::KeyboardModifiers aModifiers, 2656 2655 int aWheelDelta, Qt::Orientation aWheelDir) … … 2661 2660 "MOUSE: type=%03d x=%03d y=%03d btn=%03d btns=%08X mod=%08X " 2662 2661 "wdelta=%03d wdir=%03d", 2663 aType, aPos.x(), aPos.y(), aButton , aButtons, aModifiers,2662 aType, aPos.x(), aPos.y(), aButtons, aModifiers, 2664 2663 aWheelDelta, aWheelDir); 2665 2664 mMainWnd->statusBar()->message (buf); 2666 2665 #else 2667 Q_UNUSED (aButton);2668 2666 Q_UNUSED (aModifiers); 2669 2667 #endif
Note:
See TracChangeset
for help on using the changeset viewer.