Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/plugins/ofximport/dialogs/mymoneyofxconnector.cpp
Context not available. | |||||
273 | result = OfxAccountData::OFX_INVESTMENT; | 273 | result = OfxAccountData::OFX_INVESTMENT; | ||
---|---|---|---|---|---|
274 | else { | 274 | else { | ||
275 | switch (m_account.accountType()) { | 275 | switch (m_account.accountType()) { | ||
276 | case MyMoneyAccount::Investment: | 276 | case eMyMoney::Account::Investment: | ||
277 | result = OfxAccountData::OFX_INVESTMENT; | 277 | result = OfxAccountData::OFX_INVESTMENT; | ||
278 | break; | 278 | break; | ||
279 | case MyMoneyAccount::CreditCard: | 279 | case eMyMoney::Account::CreditCard: | ||
280 | result = OfxAccountData::OFX_CREDITCARD; | 280 | result = OfxAccountData::OFX_CREDITCARD; | ||
281 | break; | 281 | break; | ||
282 | case MyMoneyAccount::Savings: | 282 | case eMyMoney::Account::Savings: | ||
283 | result = OfxAccountData::OFX_SAVINGS; | 283 | result = OfxAccountData::OFX_SAVINGS; | ||
284 | break; | 284 | break; | ||
285 | default: | 285 | default: | ||
Context not available. | |||||
711 | while (it_split != splits.end()) { | 711 | while (it_split != splits.end()) { | ||
712 | QByteArray accid = (*it_split).accountId(); | 712 | QByteArray accid = (*it_split).accountId(); | ||
713 | MyMoneyAccount acc = file->account(accid); | 713 | MyMoneyAccount acc = file->account(accid); | ||
714 | if (acc.accountType() == MyMoneyAccount::Income || acc.accountType() == MyMoneyAccount::Expense) { | 714 | if (acc.accountType() == eMyMoney::Account::Income || acc.accountType() == eMyMoney::Account::Expense) { | ||
715 | found = true; | 715 | found = true; | ||
716 | break; | 716 | break; | ||
717 | } | 717 | } | ||
Context not available. |