Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/converter/tests/converter-test.cpp
Context not available. | |||||
59 | acLiability = (MyMoneyFile::instance()->liability().id()); | 59 | acLiability = (MyMoneyFile::instance()->liability().id()); | ||
---|---|---|---|---|---|
60 | acExpense = (MyMoneyFile::instance()->expense().id()); | 60 | acExpense = (MyMoneyFile::instance()->expense().id()); | ||
61 | acIncome = (MyMoneyFile::instance()->income().id()); | 61 | acIncome = (MyMoneyFile::instance()->income().id()); | ||
62 | acChecking = makeAccount("Checking Account", MyMoneyAccount::Checkings, moConverterCheckingOpen, QDate(2004, 5, 15), acAsset); | 62 | acChecking = makeAccount("Checking Account", eMyMoney::Account::Checkings, moConverterCheckingOpen, QDate(2004, 5, 15), acAsset); | ||
63 | acCredit = makeAccount("Credit Card", MyMoneyAccount::CreditCard, moConverterCreditOpen, QDate(2004, 7, 15), acLiability); | 63 | acCredit = makeAccount("Credit Card", eMyMoney::Account::CreditCard, moConverterCreditOpen, QDate(2004, 7, 15), acLiability); | ||
64 | acSolo = makeAccount("Solo", MyMoneyAccount::Expense, MyMoneyMoney(), QDate(2004, 1, 11), acExpense); | 64 | acSolo = makeAccount("Solo", eMyMoney::Account::Expense, MyMoneyMoney(), QDate(2004, 1, 11), acExpense); | ||
65 | acParent = makeAccount("Parent", MyMoneyAccount::Expense, MyMoneyMoney(), QDate(2004, 1, 11), acExpense); | 65 | acParent = makeAccount("Parent", eMyMoney::Account::Expense, MyMoneyMoney(), QDate(2004, 1, 11), acExpense); | ||
66 | acChild = makeAccount("Child", MyMoneyAccount::Expense, MyMoneyMoney(), QDate(2004, 2, 11), acParent); | 66 | acChild = makeAccount("Child", eMyMoney::Account::Expense, MyMoneyMoney(), QDate(2004, 2, 11), acParent); | ||
67 | acForeign = makeAccount("Foreign", MyMoneyAccount::Expense, MyMoneyMoney(), QDate(2004, 1, 11), acExpense); | 67 | acForeign = makeAccount("Foreign", eMyMoney::Account::Expense, MyMoneyMoney(), QDate(2004, 1, 11), acExpense); | ||
68 | 68 | | |||
69 | MyMoneyInstitution i("Bank of the World", "", "", "", "", "", ""); | 69 | MyMoneyInstitution i("Bank of the World", "", "", "", "", "", ""); | ||
70 | file->addInstitution(i); | 70 | file->addInstitution(i); | ||
Context not available. |