KPlato::AddResourceRequestCmd Class Reference

#include <kptcommand.h>

Inherits KPlato::NamedCommand.

Inheritance diagram for KPlato::AddResourceRequestCmd:

[legend]
List of all members.

Public Member Functions

 AddResourceRequestCmd (Part *part, ResourceGroupRequest *group, ResourceRequest *request, QString name=0)
 ~AddResourceRequestCmd ()
void execute ()
void unexecute ()

Private Attributes

ResourceGroupRequestm_group
ResourceRequestm_request
bool m_mine

Detailed Description

Definition at line 455 of file kptcommand.h.


Constructor & Destructor Documentation

KPlato::AddResourceRequestCmd::AddResourceRequestCmd ( Part part,
ResourceGroupRequest group,
ResourceRequest request,
QString  name = 0 
)

Definition at line 937 of file kptcommand.cc.

References m_mine.

KPlato::AddResourceRequestCmd::~AddResourceRequestCmd (  ) 

Definition at line 945 of file kptcommand.cc.

References m_mine, and m_request.


Member Function Documentation

void KPlato::AddResourceRequestCmd::execute (  ) 

Definition at line 950 of file kptcommand.cc.

References KPlato::ResourceGroupRequest::addResourceRequest(), m_group, m_mine, m_request, KPlato::NamedCommand::setCommandType(), and KPlato::NamedCommand::setSchScheduled().

void KPlato::AddResourceRequestCmd::unexecute (  ) 

Definition at line 958 of file kptcommand.cc.

References m_group, m_mine, m_request, KPlato::NamedCommand::setCommandType(), KPlato::NamedCommand::setSchScheduled(), and KPlato::ResourceGroupRequest::takeResourceRequest().


Member Data Documentation

ResourceGroupRequest* KPlato::AddResourceRequestCmd::m_group [private]

Definition at line 464 of file kptcommand.h.

Referenced by execute(), and unexecute().

ResourceRequest* KPlato::AddResourceRequestCmd::m_request [private]

Definition at line 465 of file kptcommand.h.

Referenced by execute(), unexecute(), and ~AddResourceRequestCmd().

bool KPlato::AddResourceRequestCmd::m_mine [private]

Definition at line 466 of file kptcommand.h.

Referenced by AddResourceRequestCmd(), execute(), unexecute(), and ~AddResourceRequestCmd().


The documentation for this class was generated from the following files:
Generated on Wed Nov 22 23:21:46 2006 for KPlato by  doxygen 1.5.1-p1