Revision 5be704b...

Go back to digest for 16th December 2012

Optimization in Office

Łukasz Maszczyński committed changes in [kmymoney] /:

Refactoring of matching a transaction-under-import

This commit does not introduce functional changes (to my and reviewers'
best knowledge).

The parts of code in TransactionMatcher class responsible for finding a
match for transaction under import have been extracted to dedicated
classes: ExistingTransactionMatchFinder (searches for a matching
transaction in the ledger) and ScheduledTransactionMatchFinder (searches
for a matching transaction in the schedules.

Also some bits of transaction import process (MyMoneyStatementReader)
have been refactored.

REVIEW: 107137

File Changes

Added 6 files
  • /dialogs
  •   kmymoney/existingtransactionmatchfinder.cpp
  •   kmymoney/existingtransactionmatchfinder.h
  •   kmymoney/scheduledtransactionmatchfinder.cpp
  •   kmymoney/scheduledtransactionmatchfinder.h
  •   kmymoney/transactionmatchfinder.cpp
  •   kmymoney/transactionmatchfinder.h
Modified 5 files
  •   kmymoney/converter/mymoneystatementreader.cpp
  •   kmymoney/converter/mymoneystatementreader.h
  •   kmymoney/dialogs/CMakeLists.txt
  •   kmymoney/dialogs/transactionmatcher.cpp
  •   kmymoney/dialogs/transactionmatcher.h
11 files changed in total