src/gui/kernel/qevent.h
changeset 33 3e2da88830cd
parent 18 2f34d5167611
equal deleted inserted replaced
30:5dc02b23752f 33:3e2da88830cd
    60 QT_BEGIN_NAMESPACE
    60 QT_BEGIN_NAMESPACE
    61 
    61 
    62 QT_MODULE(Gui)
    62 QT_MODULE(Gui)
    63 
    63 
    64 class QAction;
    64 class QAction;
       
    65 #ifndef QT_NO_GESTURES
    65 class QGesture;
    66 class QGesture;
       
    67 #endif
    66 
    68 
    67 class Q_GUI_EXPORT QInputEvent : public QEvent
    69 class Q_GUI_EXPORT QInputEvent : public QEvent
    68 {
    70 {
    69 public:
    71 public:
    70     QInputEvent(Type type, Qt::KeyboardModifiers modifiers = Qt::NoModifier);
    72     QInputEvent(Type type, Qt::KeyboardModifiers modifiers = Qt::NoModifier);
   822 
   824 
   823     friend class QApplication;
   825     friend class QApplication;
   824     friend class QApplicationPrivate;
   826     friend class QApplicationPrivate;
   825 };
   827 };
   826 
   828 
       
   829 #ifndef QT_NO_GESTURES
   827 class QGesture;
   830 class QGesture;
   828 class QGestureEventPrivate;
   831 class QGestureEventPrivate;
   829 class Q_GUI_EXPORT QGestureEvent : public QEvent
   832 class Q_GUI_EXPORT QGestureEvent : public QEvent
   830 {
   833 {
   831 public:
   834 public:
   873     const QGestureEventPrivate *d_func() const;
   876     const QGestureEventPrivate *d_func() const;
   874 
   877 
   875     friend class QApplication;
   878     friend class QApplication;
   876     friend class QGestureManager;
   879     friend class QGestureManager;
   877 };
   880 };
       
   881 #endif // QT_NO_GESTURES
   878 
   882 
   879 QT_END_NAMESPACE
   883 QT_END_NAMESPACE
   880 
   884 
   881 QT_END_HEADER
   885 QT_END_HEADER
   882 
   886