Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/dialogs/kbalancechartdlg.cpp
Context not available. | |||||
97 | reportCfg.setChartType(MyMoneyReport::eChartLine); | 97 | reportCfg.setChartType(MyMoneyReport::eChartLine); | ||
---|---|---|---|---|---|
98 | reportCfg.setIncludingForecast(true); | 98 | reportCfg.setIncludingForecast(true); | ||
99 | reportCfg.setIncludingBudgetActuals(true); | 99 | reportCfg.setIncludingBudgetActuals(true); | ||
100 | if (account.accountType() == MyMoneyAccount::Investment) { | 100 | if (account.accountType() == eMyMoney::Account::Investment) { | ||
101 | QStringList::const_iterator it_a; | 101 | QStringList::const_iterator it_a; | ||
102 | for (it_a = account.accountList().begin(); it_a != account.accountList().end(); ++it_a) | 102 | for (it_a = account.accountList().begin(); it_a != account.accountList().end(); ++it_a) | ||
103 | reportCfg.addAccount(*it_a); | 103 | reportCfg.addAccount(*it_a); | ||
Context not available. | |||||
118 | bool haveMaxCredit = false; | 118 | bool haveMaxCredit = false; | ||
119 | MyMoneyMoney minBalance, maxCredit; | 119 | MyMoneyMoney minBalance, maxCredit; | ||
120 | MyMoneyMoney factor(1, 1); | 120 | MyMoneyMoney factor(1, 1); | ||
121 | if (account.accountGroup() == MyMoneyAccount::Asset) | 121 | if (account.accountGroup() == eMyMoney::Account::Asset) | ||
122 | factor = -factor; | 122 | factor = -factor; | ||
123 | 123 | | |||
124 | if (!account.value("maxCreditEarly").isEmpty()) { | 124 | if (!account.value("maxCreditEarly").isEmpty()) { | ||
Context not available. |