Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/widgets/qabstractscrollarea.cpp

    r769 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    296296    layoutChildren();
    297297#ifndef Q_WS_MAC
     298#ifndef QT_NO_GESTURES
    298299    viewport->grabGesture(Qt::PanGesture);
     300#endif
    299301#endif
    300302}
     
    547549        d->viewport->installEventFilter(d->viewportFilter.data());
    548550#ifndef Q_WS_MAC
     551#ifndef QT_NO_GESTURES
    549552        d->viewport->grabGesture(Qt::PanGesture);
     553#endif
    550554#endif
    551555        d->layoutChildren();
     
    961965    case QEvent::TouchEnd:
    962966        return false;
     967#ifndef QT_NO_GESTURES
    963968    case QEvent::Gesture:
    964969    {
     
    981986        return false;
    982987    }
     988#endif // QT_NO_GESTURES
    983989    case QEvent::StyleChange:
    984990    case QEvent::LayoutDirectionChange:
    985991    case QEvent::ApplicationLayoutDirectionChange:
     992    case QEvent::LayoutRequest:
    986993        d->layoutChildren();
    987994        // fall through
     
    10061013  using one of the specialized event handlers instead.
    10071014
    1008   Specialised handlers for viewport events are: paintEvent(),
     1015  Specialized handlers for viewport events are: paintEvent(),
    10091016  mousePressEvent(), mouseReleaseEvent(), mouseDoubleClickEvent(),
    10101017  mouseMoveEvent(), wheelEvent(), dragEnterEvent(), dragMoveEvent(),
     
    10361043        return QFrame::event(e);
    10371044    case QEvent::LayoutRequest:
     1045#ifndef QT_NO_GESTURES
    10381046    case QEvent::Gesture:
    10391047    case QEvent::GestureOverride:
    10401048        return event(e);
     1049#endif
    10411050    default:
    10421051        break;
Note: See TracChangeset for help on using the changeset viewer.