Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/kmymoney.cpp
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
Show First 20 Lines • Show All 4284 Lines • ▼ Show 20 Line(s) | |||||
4285 | 4285 | | |||
4286 | void KMyMoneyApp::slotAccountTransactionReport() | 4286 | void KMyMoneyApp::slotAccountTransactionReport() | ||
4287 | { | 4287 | { | ||
4288 | // Generate a transaction report that contains transactions for only the | 4288 | // Generate a transaction report that contains transactions for only the | ||
4289 | // currently selected account. | 4289 | // currently selected account. | ||
4290 | if (!d->m_selectedAccount.id().isEmpty()) { | 4290 | if (!d->m_selectedAccount.id().isEmpty()) { | ||
4291 | MyMoneyReport report( | 4291 | MyMoneyReport report( | ||
4292 | MyMoneyReport::eAccount, | 4292 | MyMoneyReport::eAccount, | ||
4293 | MyMoneyReport::eQCnumber | MyMoneyReport::eQCpayee | MyMoneyReport::eQCcategory, | 4293 | MyMoneyReport::QueryColumns::Number | MyMoneyReport::QueryColumns::Payee | MyMoneyReport::QueryColumns::Category, | ||
4294 | MyMoneyTransactionFilter::yearToDate, | 4294 | MyMoneyTransactionFilter::yearToDate, | ||
4295 | MyMoneyReport::eDetailAll, | 4295 | MyMoneyReport::eDetailAll, | ||
4296 | i18n("%1 YTD Account Transactions", d->m_selectedAccount.name()), | 4296 | i18n("%1 YTD Account Transactions", d->m_selectedAccount.name()), | ||
4297 | i18n("Generated Report") | 4297 | i18n("Generated Report") | ||
4298 | ); | 4298 | ); | ||
4299 | report.setGroup(i18n("Transactions")); | 4299 | report.setGroup(i18n("Transactions")); | ||
4300 | report.addAccount(d->m_selectedAccount.id()); | 4300 | report.addAccount(d->m_selectedAccount.id()); | ||
4301 | 4301 | | |||
▲ Show 20 Lines • Show All 3573 Lines • Show Last 20 Lines |