Medical Imaging Interaction Toolkit  2021.02.99-19049835
Medical Imaging Interaction Toolkit
berryIBerryPreferences.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 #ifndef BERRYIBERRYPREFERENCES_H_
13 #define BERRYIBERRYPREFERENCES_H_
14 
16 
17 #include "berryIPreferences.h"
18 #include "berryMessage.h"
19 
20 
21 namespace berry
22 {
23 
29  {
31 
33  IBerryPreferences* const m_Source;
34  const QString m_Property;
35  const QString m_OldValue;
36  const QString m_NewValue;
37 
38  public:
39 
40  ChangeEvent(IBerryPreferences* source, const QString& property,
41  const QString& oldValue, const QString& newValue);
42 
43  IBerryPreferences* GetSource() const;
44  QString GetProperty() const;
45  QString GetOldValue() const;
46  QString GetNewValue() const;
47  };
48 
49  ~IBerryPreferences() override;
50 
56 
63  };
64 
65 } // namespace berry
66 
67 #endif /*BERRYIBERRYPREFERENCES_H_*/
berry::Message1< const ChangeEvent & > OnPropertyChanged
berry::Message1< const IBerryPreferences * > OnChanged
#define org_blueberry_core_runtime_EXPORT
#define berryObjectMacro(...)
Definition: berryMacros.h:33