#include <kptconfig.h>
Public Member Functions | |
Config () | |
~Config () | |
void | setReadWrite (bool readWrite) |
void | load () |
void | save () |
Task & | taskDefaults () |
Private Attributes | |
bool | m_readWrite |
Task | m_taskDefaults |
Definition at line 39 of file kptconfig.h.
KPlato::Config::Config | ( | ) |
KPlato::Config::~Config | ( | ) |
Definition at line 36 of file kptconfig.cc.
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().
bool KPlato::Config::m_readWrite [private] |
Task KPlato::Config::m_taskDefaults [private] |