#include <kptaccount.h>
Public Member Functions | |
| CostPlace () | |
| CostPlace (Account *acc) | |
| CostPlace (Account *acc, Node *node, bool running=false, bool strtup=false, bool shutdown=false) | |
| CostPlace (CostPlace *cp) | |
| ~CostPlace () | |
| bool | isEmpty () |
| Node * | node () const |
| bool | running () const |
| void | setRunning (bool on) |
| bool | startup () const |
| void | setStartup (bool on) |
| bool | shutdown () const |
| void | setShutdown (bool on) |
| bool | load (QDomElement &element, Project &project) |
| void | save (QDomElement &element) const |
Private Attributes | |
| Account * | m_account |
| QString | m_nodeId |
| Node * | m_node |
| bool | m_running |
| bool | m_startup |
| bool | m_shutdown |
Definition at line 97 of file kptaccount.h.
| KPlato::Account::CostPlace::CostPlace | ( | ) | [inline] |
Definition at line 99 of file kptaccount.h.
| KPlato::Account::CostPlace::CostPlace | ( | Account * | acc | ) | [inline] |
Definition at line 102 of file kptaccount.h.
| KPlato::Account::CostPlace::CostPlace | ( | Account * | acc, | |
| Node * | node, | |||
| bool | running = false, |
|||
| bool | strtup = false, |
|||
| bool | shutdown = false | |||
| ) | [inline] |
Definition at line 105 of file kptaccount.h.
References node(), running(), setRunning(), setShutdown(), setStartup(), and shutdown().
| KPlato::Account::CostPlace::CostPlace | ( | CostPlace * | cp | ) | [inline] |
Definition at line 113 of file kptaccount.h.
References m_account, m_node, m_nodeId, m_running, m_shutdown, and m_startup.
| KPlato::Account::CostPlace::~CostPlace | ( | ) |
Definition at line 263 of file kptaccount.cc.
References m_node, m_running, m_shutdown, m_startup, KPlato::Node::setRunningAccount(), KPlato::Node::setShutdownAccount(), and KPlato::Node::setStartupAccount().
| bool KPlato::Account::CostPlace::isEmpty | ( | ) | [inline] |
Definition at line 123 of file kptaccount.h.
References m_running, m_shutdown, and m_startup.
Referenced by KPlato::Account::removeRunning(), KPlato::Account::removeShutdown(), and KPlato::Account::removeStartup().
| Node* KPlato::Account::CostPlace::node | ( | ) | const [inline] |
Definition at line 124 of file kptaccount.h.
References m_node.
Referenced by CostPlace(), KPlato::Account::findCostPlace(), and KPlato::Accounts::plannedCost().
| bool KPlato::Account::CostPlace::running | ( | ) | const [inline] |
Definition at line 126 of file kptaccount.h.
References m_running.
Referenced by CostPlace(), KPlato::Account::findRunning(), and KPlato::Accounts::plannedCost().
| void KPlato::Account::CostPlace::setRunning | ( | bool | on | ) |
Definition at line 274 of file kptaccount.cc.
References m_account, m_node, m_running, and KPlato::Node::setRunningAccount().
Referenced by KPlato::Account::addRunning(), CostPlace(), load(), and KPlato::Account::removeRunning().
| bool KPlato::Account::CostPlace::startup | ( | ) | const [inline] |
Definition at line 128 of file kptaccount.h.
References m_startup.
Referenced by KPlato::Account::findStartup(), and KPlato::Accounts::plannedCost().
| void KPlato::Account::CostPlace::setStartup | ( | bool | on | ) |
Definition at line 280 of file kptaccount.cc.
References m_account, m_node, m_startup, and KPlato::Node::setStartupAccount().
Referenced by KPlato::Account::addStartup(), CostPlace(), load(), and KPlato::Account::removeStartup().
| bool KPlato::Account::CostPlace::shutdown | ( | ) | const [inline] |
Definition at line 130 of file kptaccount.h.
References m_shutdown.
Referenced by CostPlace(), KPlato::Account::findShutdown(), and KPlato::Accounts::plannedCost().
| void KPlato::Account::CostPlace::setShutdown | ( | bool | on | ) |
Definition at line 286 of file kptaccount.cc.
References m_account, m_node, m_shutdown, and KPlato::Node::setShutdownAccount().
Referenced by KPlato::Account::addShutdown(), CostPlace(), load(), and KPlato::Account::removeShutdown().
| bool KPlato::Account::CostPlace::load | ( | QDomElement & | element, | |
| Project & | project | |||
| ) |
Definition at line 292 of file kptaccount.cc.
References KPlato::Project::findNode(), m_node, m_nodeId, setRunning(), setShutdown(), and setStartup().
| void KPlato::Account::CostPlace::save | ( | QDomElement & | element | ) | const |
Definition at line 310 of file kptaccount.cc.
References m_nodeId, m_running, m_shutdown, and m_startup.
Referenced by KPlato::Account::save().
Account* KPlato::Account::CostPlace::m_account [private] |
Definition at line 137 of file kptaccount.h.
Referenced by CostPlace(), setRunning(), setShutdown(), and setStartup().
QString KPlato::Account::CostPlace::m_nodeId [private] |
Node* KPlato::Account::CostPlace::m_node [private] |
Definition at line 139 of file kptaccount.h.
Referenced by CostPlace(), load(), node(), setRunning(), setShutdown(), setStartup(), and ~CostPlace().
bool KPlato::Account::CostPlace::m_running [private] |
Definition at line 140 of file kptaccount.h.
Referenced by CostPlace(), isEmpty(), running(), save(), setRunning(), and ~CostPlace().
bool KPlato::Account::CostPlace::m_startup [private] |
Definition at line 141 of file kptaccount.h.
Referenced by CostPlace(), isEmpty(), save(), setStartup(), startup(), and ~CostPlace().
bool KPlato::Account::CostPlace::m_shutdown [private] |
Definition at line 142 of file kptaccount.h.
Referenced by CostPlace(), isEmpty(), save(), setShutdown(), shutdown(), and ~CostPlace().
1.5.1-p1