Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
berryPropertyChangeEvent.cpp
Go to the documentation of this file.
1
/*===================================================================
2
3
BlueBerry Platform
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
#include "
berryPropertyChangeEvent.h
"
18
19
namespace
berry
20
{
21
22
PropertyChangeEvent::PropertyChangeEvent
(
Object::Pointer
source,
23
const
QString& property,
Object::Pointer
oldValue,
24
Object::Pointer
newValue)
25
{
26
this->source =
source
;
27
this->propertyName = property;
28
this->oldValue =
oldValue
;
29
this->newValue =
newValue
;
30
}
31
32
Object::Pointer
PropertyChangeEvent::GetNewValue
()
33
{
34
return
newValue
;
35
}
36
37
Object::Pointer
PropertyChangeEvent::GetOldValue
()
38
{
39
return
oldValue
;
40
}
41
42
QString
PropertyChangeEvent::GetProperty
()
43
{
44
return
propertyName;
45
}
46
47
Object::Pointer
PropertyChangeEvent::GetSource
()
48
{
49
return
source
;
50
}
51
52
}
berry
Definition:
QmitkPropertyItemModel.h:27
berry::PropertyChangeEvent::GetProperty
QString GetProperty()
Definition:
berryPropertyChangeEvent.cpp:42
berry::SmartPointer< Self >
berry::PropertyChangeEvent::oldValue
berryObjectMacro(PropertyChangeEvent) private Object::Pointer oldValue
Definition:
berryPropertyChangeEvent.h:50
berry::PropertyChangeEvent::PropertyChangeEvent
PropertyChangeEvent(Object::Pointer source, const QString &property, Object::Pointer oldValue, Object::Pointer newValue)
Definition:
berryPropertyChangeEvent.cpp:22
berry::PropertyChangeEvent::GetNewValue
Object::Pointer GetNewValue()
Definition:
berryPropertyChangeEvent.cpp:32
berryPropertyChangeEvent.h
berry::PropertyChangeEvent::newValue
Object::Pointer newValue
Definition:
berryPropertyChangeEvent.h:69
berry::PropertyChangeEvent::GetSource
Object::Pointer GetSource()
Definition:
berryPropertyChangeEvent.cpp:47
berry::PropertyChangeEvent::GetOldValue
Object::Pointer GetOldValue()
Definition:
berryPropertyChangeEvent.cpp:37
berry::PropertyChangeEvent::source
Object::Pointer source
Definition:
berryPropertyChangeEvent.h:74
git
MITK
Plugins
org.blueberry.ui.qt
src
berryPropertyChangeEvent.cpp
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1