svgui  1.9
ShowLayerCommand Class Reference

#include <ShowLayerCommand.h>

Collaboration diagram for ShowLayerCommand:

List of all members.

Public Member Functions

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

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 ( ) [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.


Member Data Documentation

Definition at line 36 of file ShowLayerCommand.h.

Referenced by execute(), and unexecute().

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: