#include <commands.h>
Collaboration diagram for ShowGridFrameCommand: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 | |
| Editor * | m_editor |
| bool | m_frame |
| bool | m_grid |
| bool | m_origFrame |
| bool | m_origGrid |
Definition at line 21 of file commands.h.
| ShowGridFrameCommand::ShowGridFrameCommand | ( | Editor * | editor, | |
| bool | origGrid, | |||
| bool | origFrame, | |||
| bool | grid, | |||
| bool | frame | |||
| ) |
Definition at line 26 of file commands.cpp.
| 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:Editor* ShowGridFrameCommand::m_editor [private] |
Definition at line 33 of file commands.h.
bool ShowGridFrameCommand::m_frame [private] |
Definition at line 35 of file commands.h.
bool ShowGridFrameCommand::m_grid [private] |
Definition at line 34 of file commands.h.
bool ShowGridFrameCommand::m_origFrame [private] |
Definition at line 35 of file commands.h.
bool ShowGridFrameCommand::m_origGrid [private] |
Definition at line 34 of file commands.h.
1.7.0