text: /*===================================================================
  
  The Medical Imaging Interaction Toolkit (MITK)
  
  Copyright (c) German Cancer Research Center,
  Division of Medical and Biological Informatics.
  All rights reserved.
  
  This software is distributed WITHOUT ANY WARRANTY; without
  even the implied warranty of MERCHANTABILITY or FITNESS FOR
  A PARTICULAR PURPOSE.
  
  See LICENSE.txt or http://www.mitk.org for details.
  
  ===================================================================*/
  
  #ifndef QMITKEVENTADAPTER_H_
  #define QMITKEVENTADAPTER_H_
  
  #include <MitkQmlItemsExports.h>
  
  #include <QMouseEvent>
  #include <QKeyEvent>
  #include <mitkKeyEvent.h>
  #include <mitkWheelEvent.h>
  #include <mitkDisplayPositionEvent.h>
  
  /**
   * \ingroup QmitkModule
   * \deprecatedSince{2013_03} mitk::QmitkEventAdapter is deprecated. It will become
   * obsolete. Adaption of events is now handeled (for Qt events) in QmitkRenderWindow.
   * Refer to \see DataInteractionPage  for general information about the concept of
   * the new implementation
   */
  class MITKQMLITEMS_EXPORT QmitkEventAdapter
  {
  public:
  
    static mitk::MouseEvent AdaptMouseEvent(mitk::BaseRenderer* sender, QMouseEvent* mouseEvent);
    static mitk::WheelEvent AdaptWheelEvent(mitk::BaseRenderer* sender, QWheelEvent* wheelEvent);
    static mitk::KeyEvent AdaptKeyEvent(mitk::BaseRenderer* sender, QKeyEvent* keyEvent, const QPoint& point);
  };
  
  #endif /*QMITKEVENTADAPTER_H_*/
  