Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
Medical Imaging Interaction Toolkit
berryPropertyChangeEvent.cpp
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 
14 
15 namespace berry
16 {
17 
19  const QString& property, Object::Pointer oldValue,
20  Object::Pointer newValue)
21 {
22  this->source = source;
23  this->propertyName = property;
24  this->oldValue = oldValue;
25  this->newValue = newValue;
26 }
27 
29 {
30  return newValue;
31 }
32 
34 {
35  return oldValue;
36 }
37 
39 {
40  return propertyName;
41 }
42 
44 {
45  return source;
46 }
47 
48 }
berryObjectMacro(PropertyChangeEvent) private Object::Pointer oldValue
PropertyChangeEvent(Object::Pointer source, const QString &property, Object::Pointer oldValue, Object::Pointer newValue)