#include <ShowLayerCommand.h>

Inheritance diagram for ShowLayerCommand:
Inheritance graph
Collaboration diagram for ShowLayerCommand:
Collaboration graph

Public Member Functions

 ShowLayerCommand (View *view, Layer *layer, bool show, QString commandName)
 
void execute () override
 
void unexecute () override
 
QString getName () const override
 

Protected Attributes

Viewm_view
 
Layerm_layer
 
bool m_show
 
QString m_name
 

Detailed Description

Definition at line 21 of file ShowLayerCommand.h.

Constructor & Destructor Documentation

ShowLayerCommand::ShowLayerCommand ( View view,
Layer layer,
bool  show,
QString  commandName 
)
inline

Definition at line 24 of file ShowLayerCommand.h.

Member Function Documentation

void ShowLayerCommand::execute ( )
inlineoverride

Definition at line 26 of file ShowLayerCommand.h.

References m_layer, m_show, m_view, and Layer::showLayer().

void ShowLayerCommand::unexecute ( )
inlineoverride

Definition at line 29 of file ShowLayerCommand.h.

References m_layer, m_show, m_view, and Layer::showLayer().

QString ShowLayerCommand::getName ( ) const
inlineoverride

Definition at line 32 of file ShowLayerCommand.h.

References m_name.

Member Data Documentation

View* ShowLayerCommand::m_view
protected

Definition at line 36 of file ShowLayerCommand.h.

Referenced by execute(), and unexecute().

Layer* ShowLayerCommand::m_layer
protected

Definition at line 37 of file ShowLayerCommand.h.

Referenced by execute(), and unexecute().

bool ShowLayerCommand::m_show
protected

Definition at line 38 of file ShowLayerCommand.h.

Referenced by execute(), and unexecute().

QString ShowLayerCommand::m_name
protected

Definition at line 39 of file ShowLayerCommand.h.

Referenced by getName().


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