src/gui/kernel/qgesturemanager_p.h
branchRCL_3
changeset 4 3b1da2848fc7
parent 3 41300fa6a67c
child 30 5dc02b23752f
equal deleted inserted replaced
3:41300fa6a67c 4:3b1da2848fc7
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the QtGui module of the Qt Toolkit.
     7 ** This file is part of the QtGui module of the Qt Toolkit.
     8 **
     8 **
    76     bool filterEvent(QObject *receiver, QEvent *event);
    76     bool filterEvent(QObject *receiver, QEvent *event);
    77 #ifndef QT_NO_GRAPHICSVIEW
    77 #ifndef QT_NO_GRAPHICSVIEW
    78     bool filterEvent(QGraphicsObject *receiver, QEvent *event);
    78     bool filterEvent(QGraphicsObject *receiver, QEvent *event);
    79 #endif //QT_NO_GRAPHICSVIEW
    79 #endif //QT_NO_GRAPHICSVIEW
    80 
    80 
    81     static QGestureManager* instance();
    81     static QGestureManager* instance(); // declared in qapplication.cpp
    82 
    82 
    83     void cleanupCachedGestures(QObject *target, Qt::GestureType type);
    83     void cleanupCachedGestures(QObject *target, Qt::GestureType type);
    84 
    84 
    85     void recycle(QGesture *gesture);
    85     void recycle(QGesture *gesture);
    86 
    86 
   140                            QMap<QWidget *, QList<QGesture *> > *normal);
   140                            QMap<QWidget *, QList<QGesture *> > *normal);
   141 
   141 
   142     void cancelGesturesForChildren(QGesture *originatingGesture);
   142     void cancelGesturesForChildren(QGesture *originatingGesture);
   143 };
   143 };
   144 
   144 
   145 extern QGestureManager *qt_gestureManager;
       
   146 
       
   147 QT_END_NAMESPACE
   145 QT_END_NAMESPACE
   148 
   146 
   149 #endif // QGESTUREMANAGER_P_H
   147 #endif // QGESTUREMANAGER_P_H