Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
QmitkMimeTypes.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 (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef QmitkMimeTypes_h
14 #define QmitkMimeTypes_h
15 
16 #include <MitkQtWidgetsExports.h>
17 
18 #include <QByteArray>
19 #include <QList>
20 #include <QMimeData>
21 #include <QString>
22 
23 namespace mitk
24 {
25  class DataNode;
26 }
27 
32 {
33 public:
34  static const QString DataNodePtrs; // = "application/x-qmitk-datanode-ptrs";
35  static const QString DataStorageTreeItemPtrs; // = "application/x-qmitk-datastorage-treeitem-ptrs";
36 
37  static QList<mitk::DataNode *> ToDataNodePtrList(const QByteArray &ba);
38 
39  static QList<mitk::DataNode *> ToDataNodePtrList(const QMimeData *mimeData);
40 };
41 
42 #endif
MITKQTWIDGETS_EXPORT
#define MITKQTWIDGETS_EXPORT
Definition: MitkQtWidgetsExports.h:15
QmitkMimeTypes::DataStorageTreeItemPtrs
static const QString DataStorageTreeItemPtrs
Definition: QmitkMimeTypes.h:35
QmitkMimeTypes::DataNodePtrs
static const QString DataNodePtrs
Definition: QmitkMimeTypes.h:34
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
MitkQtWidgetsExports.h
QmitkMimeTypes
The QmitkMimeTypes class prov.
Definition: QmitkMimeTypes.h:31