Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkFileSaveAction.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,
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 #ifndef QMITKFILESAVEACTION_H_
18 #define QMITKFILESAVEACTION_H_
19 
20 #include <QAction>
21 #include <QIcon>
22 
23 #include <berryIWorkbenchWindow.h>
24 
26 
28 
29 class QmitkFileSaveActionPrivate;
30 
34 class MITK_QT_APP QmitkFileSaveAction : public QAction
35 {
36  Q_OBJECT
37 
38 public:
40  QmitkFileSaveAction(const QIcon & icon, berry::IWorkbenchWindow::Pointer window);
41  QmitkFileSaveAction(const QIcon & icon, berry::IWorkbenchWindow* window);
42 
44 
45 protected slots:
46 
47  virtual void Run();
48 
49 private:
50 
51  const QScopedPointer<QmitkFileSaveActionPrivate> d;
52 
53 };
54 
55 
56 #endif /*QMITKFILESAVEACTION_H_*/