MainWindowBase::RemovePaneCommand Class Reference

#include <MainWindowBase.h>

Inherits Command.

Inheritance diagram for MainWindowBase::RemovePaneCommand:

Inheritance graph
[legend]
Collaboration diagram for MainWindowBase::RemovePaneCommand:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 319 of file MainWindowBase.h.

Public Member Functions

 RemovePaneCommand (MainWindowBase *mw, Pane *pane)
virtual ~RemovePaneCommand ()
virtual void execute ()
virtual void unexecute ()
virtual QString getName () const

Protected Attributes

MainWindowBasem_mw
Panem_pane
Panem_prevCurrentPane
bool m_added


Constructor & Destructor Documentation

MainWindowBase::RemovePaneCommand::RemovePaneCommand ( MainWindowBase mw,
Pane pane 
)

Definition at line 1808 of file MainWindowBase.cpp.

MainWindowBase::RemovePaneCommand::~RemovePaneCommand (  )  [virtual]

Definition at line 1815 of file MainWindowBase.cpp.

References PaneStack::deletePane(), m_added, m_mw, m_pane, and MainWindowBase::m_paneStack.


Member Function Documentation

void MainWindowBase::RemovePaneCommand::execute (  )  [virtual]

Implements Command.

Definition at line 1829 of file MainWindowBase.cpp.

References PaneStack::getCurrentPane(), PaneStack::hidePane(), m_added, m_mw, m_pane, MainWindowBase::m_paneStack, and m_prevCurrentPane.

void MainWindowBase::RemovePaneCommand::unexecute (  )  [virtual]

Implements Command.

Definition at line 1837 of file MainWindowBase.cpp.

References m_added, m_mw, m_pane, MainWindowBase::m_paneStack, m_prevCurrentPane, PaneStack::setCurrentPane(), and PaneStack::showPane().

QString MainWindowBase::RemovePaneCommand::getName (  )  const [virtual]

Implements Command.

Definition at line 1823 of file MainWindowBase.cpp.


Member Data Documentation

MainWindowBase* MainWindowBase::RemovePaneCommand::m_mw [protected]

Definition at line 330 of file MainWindowBase.h.

Referenced by execute(), unexecute(), and ~RemovePaneCommand().

Pane* MainWindowBase::RemovePaneCommand::m_pane [protected]

Definition at line 331 of file MainWindowBase.h.

Referenced by execute(), unexecute(), and ~RemovePaneCommand().

Pane* MainWindowBase::RemovePaneCommand::m_prevCurrentPane [protected]

Definition at line 332 of file MainWindowBase.h.

Referenced by execute(), and unexecute().

bool MainWindowBase::RemovePaneCommand::m_added [protected]

Definition at line 333 of file MainWindowBase.h.

Referenced by execute(), unexecute(), and ~RemovePaneCommand().


The documentation for this class was generated from the following files:
Generated on Wed Feb 20 15:45:33 2008 for SonicVisualiser by  doxygen 1.5.1