Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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,
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 #ifndef QMITKMIMETYPES_H
18 #define QMITKMIMETYPES_H
19 
20 #include <MitkQtWidgetsExports.h>
21 
22 #include <QByteArray>
23 #include <QList>
24 #include <QMimeData>
25 #include <QString>
26 
27 namespace mitk
28 {
29  class DataNode;
30 }
31 
36 {
37 public:
38  static const QString DataNodePtrs; // = "application/x-qmitk-datanode-ptrs";
39  static const QString DataStorageTreeItemPtrs; // = "application/x-qmitk-datastorage-treeitem-ptrs";
40 
41  static QList<mitk::DataNode *> ToDataNodePtrList(const QByteArray &ba);
42 
43  static QList<mitk::DataNode *> ToDataNodePtrList(const QMimeData *mimeData);
44 };
45 
46 #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