Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
berryIContributionManagerOverrides.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 
13 
14 #ifndef BERRYICONTRIBUTIONMANAGEROVERRIDES_H
15 #define BERRYICONTRIBUTIONMANAGEROVERRIDES_H
16 
17 #include <berryMacros.h>
18 #include <berryObject.h>
19 
21 
22 namespace berry {
23 
24 struct IContributionItem;
25 
36 {
37 
39 
43  static const QString P_ENABLED;
44 
55  virtual int GetEnabled(const IContributionItem* item) const = 0;
56 
67  virtual int GetVisible(const IContributionItem* item) const = 0;
68 };
69 
70 }
71 
72 #endif // BERRYICONTRIBUTIONMANAGEROVERRIDES_H
org_blueberry_ui_qt_Export.h
berryMacros.h
berry::IContributionManagerOverrides
Definition: berryIContributionManagerOverrides.h:35
berry::Object
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
BERRY_UI_QT
#define BERRY_UI_QT
Definition: org_blueberry_ui_qt_Export.h:26
berry::IContributionItem
Definition: berryIContributionItem.h:50
berryObjectMacro
#define berryObjectMacro(...)
Definition: berryMacros.h:31
berry::IContributionManagerOverrides::P_ENABLED
static const QString P_ENABLED
Definition: berryIContributionManagerOverrides.h:43
berryObject.h
berry
Definition: QmitkPropertyItemModel.h:24