KPlato::RemoveResourceGroupCmd Class Reference

#include <kptcommand.h>

Inherits KPlato::NamedCommand.

Inherited by KPlato::AddResourceGroupCmd.

Inheritance diagram for KPlato::RemoveResourceGroupCmd:

[legend]
List of all members.

Public Member Functions

 RemoveResourceGroupCmd (Part *part, ResourceGroup *group, QString name=0)
 ~RemoveResourceGroupCmd ()
void execute ()
void unexecute ()

Protected Attributes

ResourceGroupm_group
bool m_mine

Detailed Description

Definition at line 730 of file kptcommand.h.


Constructor & Destructor Documentation

KPlato::RemoveResourceGroupCmd::RemoveResourceGroupCmd ( Part part,
ResourceGroup group,
QString  name = 0 
)

Definition at line 1499 of file kptcommand.cc.

References m_mine.

KPlato::RemoveResourceGroupCmd::~RemoveResourceGroupCmd (  ) 

Definition at line 1506 of file kptcommand.cc.

References m_group, and m_mine.


Member Function Documentation

void KPlato::RemoveResourceGroupCmd::execute (  ) 

Reimplemented in KPlato::AddResourceGroupCmd.

Definition at line 1511 of file kptcommand.cc.

References m_group, m_mine, KPlato::ResourceGroupRequest::parent(), KPlato::ResourceGroup::project(), KPlato::ResourceGroup::requests(), KPlato::NamedCommand::setCommandType(), KPlato::ResourceRequestCollection::takeRequest(), and KPlato::Project::takeResourceGroup().

Referenced by KPlato::AddResourceGroupCmd::unexecute().

void KPlato::RemoveResourceGroupCmd::unexecute (  ) 

Reimplemented in KPlato::AddResourceGroupCmd.

Definition at line 1527 of file kptcommand.cc.

References KPlato::ResourceRequestCollection::addRequest(), KPlato::Project::addResourceGroup(), m_group, m_mine, KPlato::ResourceGroupRequest::parent(), KPlato::ResourceGroup::project(), KPlato::ResourceGroup::requests(), and KPlato::NamedCommand::setCommandType().

Referenced by KPlato::AddResourceGroupCmd::execute().


Member Data Documentation

ResourceGroup* KPlato::RemoveResourceGroupCmd::m_group [protected]

Definition at line 740 of file kptcommand.h.

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

bool KPlato::RemoveResourceGroupCmd::m_mine [protected]

Definition at line 741 of file kptcommand.h.

Referenced by KPlato::AddResourceGroupCmd::AddResourceGroupCmd(), execute(), RemoveResourceGroupCmd(), unexecute(), and ~RemoveResourceGroupCmd().


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