Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/mymoney/storage/mymoneystoragedump.cpp
Context not available. | |||||
94 | int accountCount = 0; | 94 | int accountCount = 0; | ||
---|---|---|---|---|---|
95 | for (it_s = (*it_t).splits().constBegin(); it_s != (*it_t).splits().constEnd(); ++it_s) { | 95 | for (it_s = (*it_t).splits().constBegin(); it_s != (*it_t).splits().constEnd(); ++it_s) { | ||
96 | MyMoneyAccount acc = storage->account((*it_s).accountId()); | 96 | MyMoneyAccount acc = storage->account((*it_s).accountId()); | ||
97 | if (acc.accountGroup() != MyMoneyAccount::Expense | 97 | if (acc.accountGroup() != eMyMoney::Account::Expense | ||
98 | && acc.accountGroup() != MyMoneyAccount::Income) | 98 | && acc.accountGroup() != eMyMoney::Account::Income) | ||
99 | accountCount++; | 99 | accountCount++; | ||
100 | } | 100 | } | ||
101 | if (accountCount > 1) | 101 | if (accountCount > 1) | ||
Context not available. | |||||
172 | s << " Name = " << (*it_a).name() << "\n"; | 172 | s << " Name = " << (*it_a).name() << "\n"; | ||
173 | s << " Number = " << (*it_a).number() << "\n"; | 173 | s << " Number = " << (*it_a).number() << "\n"; | ||
174 | s << " Description = " << (*it_a).description() << "\n"; | 174 | s << " Description = " << (*it_a).description() << "\n"; | ||
175 | s << " Type = " << (*it_a).accountType() << "\n"; | 175 | s << " Type = " << (int)(*it_a).accountType() << "\n"; | ||
176 | if ((*it_a).currencyId().isEmpty()) { | 176 | if ((*it_a).currencyId().isEmpty()) { | ||
177 | s << " Currency = unknown\n"; | 177 | s << " Currency = unknown\n"; | ||
178 | } else { | 178 | } else { | ||
Context not available. |