00001 /*========================================================================= 00002 00003 Program: Medical Imaging & Interaction Toolkit 00004 Language: C++ 00005 Date: $Date: 2009-08-04 15:43:53 +0200 (Di, 04 Aug 2009) $ 00006 Version: $Revision: 18435 $ 00007 00008 Copyright (c) German Cancer Research Center, Division of Medical and 00009 Biological Informatics. All rights reserved. 00010 See MITKCopyright.txt or https://www.mitk.org/copyright.html for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 00018 #ifndef QMITKFILEEXITACTION_H_ 00019 #define QMITKFILEEXITACTION_H_ 00020 00021 #include <QAction> 00022 00023 #include "mitkQtCommonDll.h" 00024 00025 #include <berryIWorkbenchWindow.h> 00026 00027 class MITK_QT_COMMON QmitkFileExitAction : public QAction 00028 { 00029 Q_OBJECT 00030 00031 public: 00032 00033 QmitkFileExitAction(berry::IWorkbenchWindow::Pointer window); 00034 00035 protected slots: 00036 00037 void Run(); 00038 00039 private: 00040 00041 berry::IWorkbenchWindow* m_Window; 00042 }; 00043 00044 00045 #endif /*QMITKFILEOPENACTION_H_*/