#include <kptcommand.h>
Inherits KPlato::NamedCommand.
Inheritance diagram for KPlato::RemoveResourceRequestCmd:
Public Member Functions | |
RemoveResourceRequestCmd (Part *part, ResourceGroupRequest *group, ResourceRequest *request, QString name=0) | |
~RemoveResourceRequestCmd () | |
void | execute () |
void | unexecute () |
Private Attributes | |
ResourceGroupRequest * | m_group |
ResourceRequest * | m_request |
bool | m_mine |
Definition at line 470 of file kptcommand.h.
KPlato::RemoveResourceRequestCmd::RemoveResourceRequestCmd | ( | Part * | part, | |
ResourceGroupRequest * | group, | |||
ResourceRequest * | request, | |||
QString | name = 0 | |||
) |
Definition at line 967 of file kptcommand.cc.
References KPlato::NamedCommand::addSchScheduled(), m_mine, KPlato::Node::schedules(), and KPlato::ResourceRequest::task().
KPlato::RemoveResourceRequestCmd::~RemoveResourceRequestCmd | ( | ) |
void KPlato::RemoveResourceRequestCmd::execute | ( | ) |
Definition at line 987 of file kptcommand.cc.
References m_group, m_mine, m_request, KPlato::NamedCommand::setCommandType(), KPlato::NamedCommand::setSchScheduled(), and KPlato::ResourceGroupRequest::takeResourceRequest().
void KPlato::RemoveResourceRequestCmd::unexecute | ( | ) |
Definition at line 994 of file kptcommand.cc.
References KPlato::ResourceGroupRequest::addResourceRequest(), m_group, m_mine, m_request, KPlato::NamedCommand::setCommandType(), and KPlato::NamedCommand::setSchScheduled().
Definition at line 480 of file kptcommand.h.
Referenced by execute(), unexecute(), and ~RemoveResourceRequestCmd().
bool KPlato::RemoveResourceRequestCmd::m_mine [private] |
Definition at line 481 of file kptcommand.h.
Referenced by execute(), RemoveResourceRequestCmd(), unexecute(), and ~RemoveResourceRequestCmd().