src/gui/kernel/qeventdispatcher_mac.mm
changeset 33 3e2da88830cd
parent 30 5dc02b23752f
child 37 758a864f9613
equal deleted inserted replaced
30:5dc02b23752f 33:3e2da88830cd
   490         case NSTabletPoint:      
   490         case NSTabletPoint:      
   491         case NSTabletProximity:  
   491         case NSTabletProximity:  
   492         case NSOtherMouseDown:   
   492         case NSOtherMouseDown:   
   493         case NSOtherMouseUp:     
   493         case NSOtherMouseUp:     
   494         case NSOtherMouseDragged:
   494         case NSOtherMouseDragged:
       
   495 #ifndef QT_NO_GESTURES
   495 #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
   496 #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
   496         case NSEventTypeGesture: // touch events
   497         case NSEventTypeGesture: // touch events
   497         case NSEventTypeMagnify:
   498         case NSEventTypeMagnify:
   498         case NSEventTypeSwipe:
   499         case NSEventTypeSwipe:
   499         case NSEventTypeRotate:
   500         case NSEventTypeRotate:
   500         case NSEventTypeBeginGesture:
   501         case NSEventTypeBeginGesture:
   501         case NSEventTypeEndGesture:
   502         case NSEventTypeEndGesture:
   502 #endif
   503 #endif
       
   504 #endif // QT_NO_GESTURES
   503             result    = true;
   505             result    = true;
   504         break;
   506         break;
   505 
   507 
   506         default:
   508         default:
   507         break;
   509         break;