Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
berryQModelIndexObject.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 
14 #ifndef BERRYQMODELINDEXOBJECT_H_
15 #define BERRYQMODELINDEXOBJECT_H_
16 
17 #include <berryObject.h>
18 #include <berryMacros.h>
19 
21 
22 #include <QModelIndex>
23 
24 namespace berry
25 {
26 
28 {
29 
30 public:
31 
33 
34  QModelIndexObject(const QModelIndex& index);
35 
36  const QModelIndex& GetQModelIndex() const;
37 
38  bool operator==(const Object* obj) const override;
39 
40 private:
41 
42  QModelIndex m_QModelIndex;
43 
44 };
45 
46 }
47 
48 #endif /* BERRYQMODELINDEXOBJECT_H_ */
org_blueberry_ui_qt_Export.h
berryMacros.h
berry::Object
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
BERRY_UI_QT
#define BERRY_UI_QT
Definition: org_blueberry_ui_qt_Export.h:26
mitk::operator==
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
berry::QModelIndexObject
Definition: berryQModelIndexObject.h:27
berryObjectMacro
#define berryObjectMacro(...)
Definition: berryMacros.h:33
berryObject.h
berry
Definition: QmitkPropertyItemModel.h:24