ViewManager::SetSelectionCommand Class Reference

#include <ViewManager.h>

Inheritance diagram for ViewManager::SetSelectionCommand:
Inheritance graph
Collaboration diagram for ViewManager::SetSelectionCommand:
Collaboration graph

Public Member Functions

 SetSelectionCommand (ViewManager *vm, const MultiSelection &ms)
 
virtual ~SetSelectionCommand ()
 
void execute () override
 
void unexecute () override
 
QString getName () const override
 

Protected Attributes

ViewManagerm_vm
 
MultiSelection m_oldSelection
 
MultiSelection m_newSelection
 

Detailed Description

Definition at line 375 of file ViewManager.h.

Constructor & Destructor Documentation

ViewManager::SetSelectionCommand::SetSelectionCommand ( ViewManager vm,
const MultiSelection &  ms 
)

Definition at line 379 of file ViewManager.cpp.

ViewManager::SetSelectionCommand::~SetSelectionCommand ( )
virtual

Definition at line 387 of file ViewManager.cpp.

Member Function Documentation

void ViewManager::SetSelectionCommand::execute ( )
override
void ViewManager::SetSelectionCommand::unexecute ( )
override
QString ViewManager::SetSelectionCommand::getName ( ) const
override

Definition at line 404 of file ViewManager.cpp.

References m_newSelection.

Member Data Documentation

ViewManager* ViewManager::SetSelectionCommand::m_vm
protected

Definition at line 385 of file ViewManager.h.

Referenced by execute(), and unexecute().

MultiSelection ViewManager::SetSelectionCommand::m_oldSelection
protected

Definition at line 386 of file ViewManager.h.

Referenced by unexecute().

MultiSelection ViewManager::SetSelectionCommand::m_newSelection
protected

Definition at line 387 of file ViewManager.h.

Referenced by execute(), and getName().


The documentation for this class was generated from the following files: