Medical Imaging Interaction Toolkit  2023.12.99-ed252ae7
Medical Imaging Interaction Toolkit
berryPropertyChangeEvent.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 BERRYPROPERTYCHANGEEVENT_H_
15 #define BERRYPROPERTYCHANGEEVENT_H_
16 
17 #include <berryMacros.h>
18 #include <berryObject.h>
19 
21 
22 namespace berry {
23 
42 {
43 
44 public:
45 
47 
48 private:
49 
53  QString propertyName;
54 
59  Object::Pointer oldValue;
60 
65  Object::Pointer newValue;
66 
70  Object::Pointer source;
71 
72 public:
73 
82  PropertyChangeEvent(Object::Pointer source, const QString& property, Object::Pointer oldValue,
83  Object::Pointer newValue);
84 
91  Object::Pointer GetNewValue();
92 
100  Object::Pointer GetOldValue();
101 
112  QString GetProperty();
113 
119  Object::Pointer GetSource();
120 
121 };
122 
123 }
124 
125 #endif /* BERRYPROPERTYCHANGEEVENT_H_ */
org_blueberry_ui_qt_Export.h
berryMacros.h
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
berry::Object
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
berry::PropertyChangeEvent
Definition: berryPropertyChangeEvent.h:41
BERRY_UI_QT
#define BERRY_UI_QT
Definition: org_blueberry_ui_qt_Export.h:26
berryObjectMacro
#define berryObjectMacro(...)
Definition: berryMacros.h:31
berryObject.h
berry
Definition: QmitkPropertyItemModel.h:24