Medical Imaging Interaction Toolkit  2018.4.99-389bf124
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 // QMITKMIMETYPES_H
The QmitkMimeTypes class prov.
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKQTWIDGETS_EXPORT
static const QString DataNodePtrs
static const QString DataStorageTreeItemPtrs