KPlato::Config Class Reference

#include <kptconfig.h>

List of all members.

Public Member Functions

 Config ()
 ~Config ()
void setReadWrite (bool readWrite)
void load ()
void save ()
TasktaskDefaults ()

Private Attributes

bool m_readWrite
Task m_taskDefaults


Detailed Description

Definition at line 39 of file kptconfig.h.


Constructor & Destructor Documentation

KPlato::Config::Config (  ) 

Definition at line 31 of file kptconfig.cc.

References m_readWrite.

KPlato::Config::~Config (  ) 

Definition at line 36 of file kptconfig.cc.


Member Function Documentation

void KPlato::Config::setReadWrite ( bool  readWrite  )  [inline]

Definition at line 45 of file kptconfig.h.

References m_readWrite.

Referenced by KPlato::Part::Part().

void KPlato::Config::load (  ) 

Definition at line 40 of file kptconfig.cc.

References KPlato::Node::effort(), KPlato::Factory::global(), m_taskDefaults, KPlato::Effort::set(), KPlato::Task::setConstraint(), KPlato::Node::setConstraintEndTime(), KPlato::Node::setConstraintStartTime(), KPlato::Node::setDescription(), KPlato::Node::setLeader(), KPlato::Effort::setOptimisticRatio(), KPlato::Effort::setPessimisticRatio(), and KPlato::Effort::setType().

Referenced by KPlato::Part::Part().

void KPlato::Config::save (  ) 

Definition at line 65 of file kptconfig.cc.

References KPlato::Node::constraint(), KPlato::Node::constraintEndTime(), KPlato::Node::constraintStartTime(), KPlato::Node::description(), KPlato::Node::effort(), KPlato::Effort::expected(), KPlato::Factory::global(), KPlato::Node::leader(), m_readWrite, m_taskDefaults, KPlato::Effort::optimisticRatio(), KPlato::Effort::pessimisticRatio(), KPlato::Duration::seconds(), and KPlato::Effort::type().

Referenced by KPlato::Part::~Part().

Task& KPlato::Config::taskDefaults (  )  [inline]

Definition at line 49 of file kptconfig.h.

References m_taskDefaults.

Referenced by KPlato::ConfigDialog::ConfigDialog(), and KPlato::ConfigDialog::slotDefault().


Member Data Documentation

bool KPlato::Config::m_readWrite [private]

Definition at line 53 of file kptconfig.h.

Referenced by Config(), save(), and setReadWrite().

Task KPlato::Config::m_taskDefaults [private]

Definition at line 55 of file kptconfig.h.

Referenced by load(), save(), and taskDefaults().


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