#include <kptcommand.h>
Inherits KPlato::NamedCommand.
Inheritance diagram for KPlato::NodeMoveDownCmd:
Public Member Functions | |
NodeMoveDownCmd (Part *part, Node &node, QString name=0) | |
void | execute () |
void | unexecute () |
Private Attributes | |
Node & | m_node |
Project * | m_project |
bool | m_moved |
Definition at line 386 of file kptcommand.h.
Definition at line 787 of file kptcommand.cc.
References m_node, m_project, and KPlato::Node::projectNode().
void KPlato::NodeMoveDownCmd::execute | ( | ) |
Definition at line 795 of file kptcommand.cc.
References m_moved, m_node, m_project, KPlato::Project::moveTaskDown(), and KPlato::NamedCommand::setCommandType().
void KPlato::NodeMoveDownCmd::unexecute | ( | ) |
Definition at line 802 of file kptcommand.cc.
References m_moved, m_node, m_project, KPlato::Project::moveTaskUp(), and KPlato::NamedCommand::setCommandType().
Node& KPlato::NodeMoveDownCmd::m_node [private] |
Definition at line 394 of file kptcommand.h.
Referenced by execute(), NodeMoveDownCmd(), and unexecute().
Project* KPlato::NodeMoveDownCmd::m_project [private] |
Definition at line 395 of file kptcommand.h.
Referenced by execute(), NodeMoveDownCmd(), and unexecute().
bool KPlato::NodeMoveDownCmd::m_moved [private] |