Medical Imaging Interaction Toolkit
2025.12.02
Medical Imaging Interaction Toolkit
QmitkFileExitAction.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
#ifndef QmitkFileExitAction_h
14
#define QmitkFileExitAction_h
15
16
#include <
berrySmartPointer.h
>
17
18
#include <QAction>
19
20
#include <
org_mitk_gui_qt_application_Export.h
>
21
22
namespace
berry
{
23
struct
IWorkbenchWindow;
24
}
25
29
class
MITK_QT_APP
QmitkFileExitAction
:
public
QAction
30
{
31
Q_OBJECT
32
33
public
:
34
35
QmitkFileExitAction
(
berry::SmartPointer<berry::IWorkbenchWindow>
window);
36
QmitkFileExitAction
(
berry::IWorkbenchWindow
* window);
37
QmitkFileExitAction
(
const
QIcon & icon,
berry::SmartPointer<berry::IWorkbenchWindow>
window);
38
QmitkFileExitAction
(
const
QIcon & icon,
berry::IWorkbenchWindow
* window);
39
40
protected
slots:
41
42
void
Run
();
43
44
private
:
45
void
init(
berry::IWorkbenchWindow
* window);
46
berry::IWorkbenchWindow
* m_Window;
47
};
48
49
50
#endif
berrySmartPointer.h
QmitkFileExitAction
Definition:
QmitkFileExitAction.h:30
QmitkFileExitAction::QmitkFileExitAction
QmitkFileExitAction(berry::IWorkbenchWindow *window)
QmitkFileExitAction::QmitkFileExitAction
QmitkFileExitAction(berry::SmartPointer< berry::IWorkbenchWindow > window)
QmitkFileExitAction::Run
void Run()
QmitkFileExitAction::QmitkFileExitAction
QmitkFileExitAction(const QIcon &icon, berry::SmartPointer< berry::IWorkbenchWindow > window)
QmitkFileExitAction::QmitkFileExitAction
QmitkFileExitAction(const QIcon &icon, berry::IWorkbenchWindow *window)
berry::SmartPointer
Implements transparent reference counting.
Definition:
berrySmartPointer.h:32
berry
Definition:
QmitkPropertyItemModel.h:25
org_mitk_gui_qt_application_Export.h
MITK_QT_APP
#define MITK_QT_APP
Definition:
org_mitk_gui_qt_application_Export.h:26
berry::IWorkbenchWindow
Definition:
berryIWorkbenchWindow.h:65
src
MITK
Plugins
org.mitk.gui.qt.application
src
QmitkFileExitAction.h
Generated on Mon Feb 23 2026 23:28:13 for Medical Imaging Interaction Toolkit by
1.9.1