Public Member Functions | Protected Slots

QmitkFileExitAction Class Reference

#include <QmitkFileExitAction.h>

Collaboration diagram for QmitkFileExitAction:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 QmitkFileExitAction (berry::IWorkbenchWindow::Pointer window)

Protected Slots

void Run ()

Detailed Description

Definition at line 27 of file QmitkFileExitAction.h.


Constructor & Destructor Documentation

QmitkFileExitAction::QmitkFileExitAction ( berry::IWorkbenchWindow::Pointer  window )

Definition at line 31 of file QmitkFileExitAction.cpp.

References berry::SmartPointer< TObjectType >::GetPointer(), berry::IWorkbenchWindow::GetShell(), and Run().

: QAction(0)
{
  m_Window = window.GetPointer();

  this->setParent(static_cast<QWidget*>(m_Window->GetShell()->GetControl()));
  this->setText("&Exit");

  this->connect(this, SIGNAL(triggered(bool)), this, SLOT(Run()));
}

Member Function Documentation

void QmitkFileExitAction::Run (  ) [protected, slot]

Definition at line 42 of file QmitkFileExitAction.cpp.

References berry::PlatformUI::GetWorkbench().

Referenced by QmitkFileExitAction().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines