Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkDefaultDropTargetListener.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 
18 #ifndef QMITKDEFAULTDROPTARGETLISTENER_H
19 #define QMITKDEFAULTDROPTARGETLISTENER_H
20 
22 
24 
25 #include <QScopedPointer>
26 
27 class QmitkDefaultDropTargetListenerPrivate;
28 
33 {
34 public:
37 
38  Events::Types GetDropTargetEventTypes() const override;
39 
40  void DropEvent(QDropEvent* event) override;
41 
42 private:
43 
44  const QScopedPointer<QmitkDefaultDropTargetListenerPrivate> d;
45 
46 };
47 
48 #endif // QMITKDEFAULTDROPTARGETLISTENER_H
virtual void DropEvent(QDropEvent *)
virtual Events::Types GetDropTargetEventTypes() const =0