Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/reports/listtable.cpp
Context not available. | |||||
36 | // Project Includes | 36 | // Project Includes | ||
---|---|---|---|---|---|
37 | 37 | | |||
38 | #include "mymoneyfile.h" | 38 | #include "mymoneyfile.h" | ||
39 | #include "mymoneyaccount.h" | ||||
40 | #include "mymoneysecurity.h" | ||||
41 | #include "mymoneytransaction.h" | ||||
39 | #include "mymoneyreport.h" | 42 | #include "mymoneyreport.h" | ||
40 | #include "kmymoneyglobalsettings.h" | 43 | #include "kmymoneyglobalsettings.h" | ||
41 | 44 | | |||
Context not available. | |||||
484 | file->accountList(accountList); | 487 | file->accountList(accountList); | ||
485 | QList<MyMoneyAccount>::const_iterator it_ma; | 488 | QList<MyMoneyAccount>::const_iterator it_ma; | ||
486 | for (it_ma = accountList.constBegin(); it_ma != accountList.constEnd(); ++it_ma) { | 489 | for (it_ma = accountList.constBegin(); it_ma != accountList.constEnd(); ++it_ma) { | ||
487 | if ((*it_ma).accountType() == MyMoneyAccount::Investment) { | 490 | if ((*it_ma).accountType() == eMyMoney::Account::Investment) { | ||
488 | accountIdList.append((*it_ma).id()); | 491 | accountIdList.append((*it_ma).id()); | ||
489 | } | 492 | } | ||
490 | } | 493 | } | ||
Context not available. | |||||
493 | QStringList::const_iterator it_a; | 496 | QStringList::const_iterator it_a; | ||
494 | for (it_a = accountIdList.constBegin(); it_a != accountIdList.constEnd(); ++it_a) { | 497 | for (it_a = accountIdList.constBegin(); it_a != accountIdList.constEnd(); ++it_a) { | ||
495 | MyMoneyAccount acc = file->account(*it_a); | 498 | MyMoneyAccount acc = file->account(*it_a); | ||
496 | if (acc.accountType() == MyMoneyAccount::Investment) { | 499 | if (acc.accountType() == eMyMoney::Account::Investment) { | ||
497 | QStringList::const_iterator it_b; | 500 | QStringList::const_iterator it_b; | ||
498 | for (it_b = acc.accountList().constBegin(); it_b != acc.accountList().constEnd(); ++it_b) { | 501 | for (it_b = acc.accountList().constBegin(); it_b != acc.accountList().constEnd(); ++it_b) { | ||
499 | if (!accountIdList.contains(*it_b)) { | 502 | if (!accountIdList.contains(*it_b)) { | ||
Context not available. |