svgui
1.9
|
#include <ShowLayerCommand.h>
Public Member Functions | |
ShowLayerCommand (View *view, Layer *layer, bool show, QString commandName) | |
void | execute () |
void | unexecute () |
QString | getName () const |
Protected Attributes | |
View * | m_view |
Layer * | m_layer |
bool | m_show |
QString | m_name |
Definition at line 21 of file ShowLayerCommand.h.
ShowLayerCommand::ShowLayerCommand | ( | View * | view, |
Layer * | layer, | ||
bool | show, | ||
QString | commandName | ||
) | [inline] |
Definition at line 24 of file ShowLayerCommand.h.
void ShowLayerCommand::execute | ( | ) | [inline] |
Definition at line 26 of file ShowLayerCommand.h.
References m_layer, m_show, m_view, and Layer::showLayer().
void ShowLayerCommand::unexecute | ( | ) | [inline] |
Definition at line 29 of file ShowLayerCommand.h.
References m_layer, m_show, m_view, and Layer::showLayer().
QString ShowLayerCommand::getName | ( | ) | const [inline] |
Definition at line 32 of file ShowLayerCommand.h.
References m_name.
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().