| 39 | #include <mitkCoreServices.h> |
| 40 | |
| 41 | QmitkDataStorageTreeModel::QmitkDataStorageTreeModel(mitk::DataStorage *_DataStorage, |
| 42 | bool _PlaceNewNodesOnTop, |
| 43 | QObject *parent) |
| 44 | : QAbstractItemModel(parent), |
| 45 | m_DataStorage(nullptr), |
| 46 | m_PlaceNewNodesOnTop(_PlaceNewNodesOnTop), |
| 47 | m_Root(nullptr), |
| 48 | m_BlockDataStorageEvents(false), |
| 49 | m_AllowHierarchyChange(false) |
| 50 | { |
| 51 | this->SetDataStorage(_DataStorage); |
| 52 | } |
| 53 | |
| 54 | QmitkDataStorageTreeModel::~QmitkDataStorageTreeModel() |
| 55 | { |
nothing calls this directly
no test coverage detected