Public Member Functions | Private Member Functions | Private Attributes

ShowGridFrameCommand Class Reference

#include <commands.h>

Collaboration diagram for ShowGridFrameCommand:

List of all members.

Public Member Functions

 ShowGridFrameCommand (Editor *editor, bool origGrid, bool origFrame, bool grid, bool frame)
void redo ()
void undo ()

Private Member Functions

QString getMsg () const

Private Attributes

Editorm_editor
bool m_frame
bool m_grid
bool m_origFrame
bool m_origGrid

Detailed Description

Definition at line 21 of file commands.h.


Constructor & Destructor Documentation

ShowGridFrameCommand::ShowGridFrameCommand ( Editor editor,
bool  origGrid,
bool  origFrame,
bool  grid,
bool  frame 
)

Definition at line 26 of file commands.cpp.


Member Function Documentation

QString ShowGridFrameCommand::getMsg (  )  const [private]

Definition at line 48 of file commands.cpp.

References m_frame, m_grid, m_origFrame, and m_origGrid.

Referenced by redo(), and undo().

Here is the caller graph for this function:

void ShowGridFrameCommand::redo (  ) 

Definition at line 42 of file commands.cpp.

References getMsg(), m_editor, m_frame, m_grid, and Editor::setShowGridFrame().

Here is the call graph for this function:

void ShowGridFrameCommand::undo (  ) 

Definition at line 35 of file commands.cpp.

References getMsg(), m_editor, m_origFrame, m_origGrid, and Editor::setShowGridFrame().

Here is the call graph for this function:


Member Data Documentation

Definition at line 33 of file commands.h.

Referenced by redo(), and undo().

Definition at line 35 of file commands.h.

Referenced by getMsg(), and redo().

Definition at line 34 of file commands.h.

Referenced by getMsg(), and redo().

Definition at line 35 of file commands.h.

Referenced by getMsg(), and undo().

Definition at line 34 of file commands.h.

Referenced by getMsg(), and undo().


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