Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/mymoney/mymoneyaccount.h
Show All 38 Lines | |||||
39 | class QString; | 39 | class QString; | ||
40 | class QDate; | 40 | class QDate; | ||
41 | class QPixmap; | 41 | class QPixmap; | ||
42 | class MyMoneySecurity; | 42 | class MyMoneySecurity; | ||
43 | class MyMoneyMoney; | 43 | class MyMoneyMoney; | ||
44 | class MyMoneySplit; | 44 | class MyMoneySplit; | ||
45 | class payeeIdentifier; | 45 | class payeeIdentifier; | ||
46 | namespace eMyMoney { namespace Account { enum class Type; } } | 46 | namespace eMyMoney { namespace Account { enum class Type; } } | ||
47 | namespace eMyMoney { namespace Account { enum class Standard; } } | ||||
47 | template <class T> class payeeIdentifierTyped; | 48 | template <class T> class payeeIdentifierTyped; | ||
48 | 49 | | |||
49 | /** | 50 | /** | ||
50 | * A representation of an account. | 51 | * A representation of an account. | ||
51 | * This object represents any type of account, those held at an | 52 | * This object represents any type of account, those held at an | ||
52 | * institution as well as the accounts used for double entry | 53 | * institution as well as the accounts used for double entry | ||
53 | * accounting. | 54 | * accounting. | ||
54 | * | 55 | * | ||
▲ Show 20 Lines • Show All 526 Lines • ▼ Show 20 Line(s) | 578 | /** | |||
581 | */ | 582 | */ | ||
582 | QMap<QDate, MyMoneyMoney> reconciliationHistory(); | 583 | QMap<QDate, MyMoneyMoney> reconciliationHistory(); | ||
583 | 584 | | |||
584 | /** | 585 | /** | ||
585 | * @return @c true if account has an online mapping, @c false otherwise | 586 | * @return @c true if account has an online mapping, @c false otherwise | ||
586 | */ | 587 | */ | ||
587 | bool hasOnlineMapping() const; | 588 | bool hasOnlineMapping() const; | ||
588 | 589 | | |||
590 | static QString stdAccName(eMyMoney::Account::Standard stdAccID); | ||||
591 | | ||||
589 | QDataStream &operator<<(const MyMoneyAccount &); | 592 | QDataStream &operator<<(const MyMoneyAccount &); | ||
590 | QDataStream &operator>>(MyMoneyAccount &); | 593 | QDataStream &operator>>(MyMoneyAccount &); | ||
591 | }; | 594 | }; | ||
592 | 595 | | |||
593 | inline void swap(MyMoneyAccount& first, MyMoneyAccount& second) // krazy:exclude=inline | 596 | inline void swap(MyMoneyAccount& first, MyMoneyAccount& second) // krazy:exclude=inline | ||
594 | { | 597 | { | ||
595 | using std::swap; | 598 | using std::swap; | ||
596 | swap(first.MyMoneyObject::d_ptr, second.MyMoneyObject::d_ptr); | 599 | swap(first.MyMoneyObject::d_ptr, second.MyMoneyObject::d_ptr); | ||
Show All 22 Lines |