kplato
KPlato::Account Class Reference
#include <kptaccount.h>
Detailed Description
Account holds one account.An account can have any number of sub-accounts. Account names must be unique.
Definition at line 48 of file kptaccount.h.
Public Member Functions | |
| Account () | |
| Account (QString name, QString description=QString::null) | |
| ~Account () | |
| QString | name () const |
| void | setName (QString name) |
| QString | description () const |
| void | setDescription (QString desc) |
| bool | isElement () const |
| Accounts * | list () const |
| void | setList (Accounts *list) |
| Account * | parent () const |
| void | setParent (Account *parent) |
| void | clear () |
| void | append (Account *account) |
| void | take (Account *account) |
| void | insertChildren () |
| bool | load (QDomElement &element, const Project &project) |
| void | save (QDomElement &element) const |
| const QPtrList< Account > & | accountList () const |
| Account * | findAccount () const |
| Account * | findAccount (const QString &id) const |
| bool | removeId () |
| bool | removeId (const QString &id) |
| bool | insertId () |
| bool | insertId (const Account *account) |
| void | append (const CostPlace *cp) |
| const QPtrList< CostPlace > & | costPlaces () const |
| Account::CostPlace * | findCostPlace (const Node &node) const |
| CostPlace * | findRunning (const Node &node) const |
| void | removeRunning (const Node &node) |
| void | addRunning (Node &node) |
| CostPlace * | findStartup (const Node &node) const |
| void | removeStartup (const Node &node) |
| void | addStartup (Node &node) |
| CostPlace * | findShutdown (const Node &node) const |
| void | removeShutdown (const Node &node) |
| void | addShutdown (Node &node) |
| void | printDebug (QString indent) |
Constructor & Destructor Documentation
| KPlato::Account::Account | ( | ) |
| KPlato::Account::~Account | ( | ) |
The documentation for this class was generated from the following files:

