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
berryIBerryPreferences.h
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
#ifndef BERRYIBERRYPREFERENCES_H_
17
#define BERRYIBERRYPREFERENCES_H_
18
19
#include <
org_blueberry_core_runtime_Export.h
>
20
21
#include "
berryIPreferences.h
"
22
#include "
berryMessage.h
"
23
24
25
namespace
berry
26
{
27
32
struct
org_blueberry_core_runtime_EXPORT
IBerryPreferences
:
virtual
public
IPreferences
33
{
34
berryObjectMacro
(
berry::IBerryPreferences
)
35
36
class
org_blueberry_core_runtime_EXPORT
ChangeEvent
{
37
IBerryPreferences
*
const
m_Source;
38
const
QString m_Property;
39
const
QString m_OldValue;
40
const
QString m_NewValue;
41
42
public
:
43
44
ChangeEvent(
IBerryPreferences
* source,
const
QString& property,
45
const
QString& oldValue,
const
QString& newValue);
46
47
IBerryPreferences
* GetSource()
const
;
48
QString GetProperty()
const
;
49
QString GetOldValue()
const
;
50
QString GetNewValue()
const
;
51
};
52
53
virtual
~
IBerryPreferences
();
54
59
berry::Message1<const IBerryPreferences*>
OnChanged;
60
66
berry::Message1<const ChangeEvent&>
OnPropertyChanged;
67
};
68
69
}
// namespace berry
70
71
#endif
/*BERRYIBERRYPREFERENCES_H_*/
berry
Definition:
QmitkPropertyItemModel.h:27
berry::IPreferences
Definition:
berryIPreferences.h:123
berryIPreferences.h
berryMessage.h
org_blueberry_core_runtime_Export.h
org_blueberry_core_runtime_EXPORT
#define org_blueberry_core_runtime_EXPORT
Definition:
org_blueberry_core_runtime_Export.h:23
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:37
berry::Message1
Definition:
berryMessage.h:791
berry::IBerryPreferences
Definition:
berryIBerryPreferences.h:32
berry::IBerryPreferences::ChangeEvent
Definition:
berryIBerryPreferences.h:34
git
MITK
Plugins
org.blueberry.core.runtime
src
berryIBerryPreferences.h
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1