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
berryISourceProviderListener.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 "
berryISourceProviderListener.h
"
18
19
namespace
berry
{
20
21
void
ISourceProviderListener::Events::AddListener
(
ISourceProviderListener
* l)
22
{
23
if
(l ==
nullptr
)
return
;
24
25
multipleSourcesChanged
+=
Delegate2
(l, &
ISourceProviderListener::SourceChanged
);
26
singleSourceChanged
+=
Delegate3
(l, &
ISourceProviderListener::SourceChanged
);
27
}
28
29
void
ISourceProviderListener::Events::RemoveListener
(
ISourceProviderListener
* l)
30
{
31
if
(l ==
nullptr
)
return
;
32
33
multipleSourcesChanged -=
Delegate2
(l, &
ISourceProviderListener::SourceChanged
);
34
singleSourceChanged -=
Delegate3
(l, &
ISourceProviderListener::SourceChanged
);
35
}
36
37
ISourceProviderListener::~ISourceProviderListener
()
38
{
39
}
40
41
}
berry
Definition:
QmitkPropertyItemModel.h:27
berry::ISourceProviderListener::Events::multipleSourcesChanged
Message2< int, const QHash< QString, Object::ConstPointer > & > multipleSourcesChanged
Definition:
berryISourceProviderListener.h:46
berry::ISourceProviderListener::Events::RemoveListener
void RemoveListener(ISourceProviderListener *l)
Definition:
berryISourceProviderListener.cpp:29
berry::ISourceProviderListener::SourceChanged
virtual void SourceChanged(int sourcePriority, const QHash< QString, Object::ConstPointer > &sourceValuesByName)=0
berry::ISourceProviderListener::~ISourceProviderListener
virtual ~ISourceProviderListener()
Definition:
berryISourceProviderListener.cpp:37
berry::ISourceProviderListener::Events::singleSourceChanged
Message3< int, const QString &, Object::ConstPointer > singleSourceChanged
Definition:
berryISourceProviderListener.h:47
berryISourceProviderListener.h
berry::MessageDelegate3
Definition:
berryMessage.h:266
berry::ISourceProviderListener::Events::AddListener
void AddListener(ISourceProviderListener *l)
Definition:
berryISourceProviderListener.cpp:21
berry::MessageDelegate2
Definition:
berryMessage.h:220
berry::ISourceProviderListener
Definition:
berryISourceProviderListener.h:42
git
MITK
Plugins
org.blueberry.ui.qt
src
berryISourceProviderListener.cpp
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1