#include <kptcommand.h>
Inherits KPlato::NamedCommand.
Inheritance diagram for KPlato::NodeMoveUpCmd:
Public Member Functions | |
NodeMoveUpCmd (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 373 of file kptcommand.h.
Definition at line 762 of file kptcommand.cc.
References m_node, m_project, and KPlato::Node::projectNode().
void KPlato::NodeMoveUpCmd::execute | ( | ) |
Definition at line 770 of file kptcommand.cc.
References m_moved, m_node, m_project, KPlato::Project::moveTaskUp(), and KPlato::NamedCommand::setCommandType().
void KPlato::NodeMoveUpCmd::unexecute | ( | ) |
Definition at line 778 of file kptcommand.cc.
References m_moved, m_node, m_project, KPlato::Project::moveTaskDown(), and KPlato::NamedCommand::setCommandType().
Node& KPlato::NodeMoveUpCmd::m_node [private] |
Definition at line 381 of file kptcommand.h.
Referenced by execute(), NodeMoveUpCmd(), and unexecute().
Project* KPlato::NodeMoveUpCmd::m_project [private] |
Definition at line 382 of file kptcommand.h.
Referenced by execute(), NodeMoveUpCmd(), and unexecute().
bool KPlato::NodeMoveUpCmd::m_moved [private] |