Rewrite CSV Importer
ClosedPublic

Authored by wojnilowicz on May 20 2017, 9:12 AM.

Details

Reviewers
None
Group Reviewers
KMyMoney
Commits
R261:87c78e837237: Rewrite CSV Importer
Summary

Main purpose of the rewrite is to separate CSV wizard from CSV importer,
so that importing CSV file could be done without wizard. Goal of
separation is to be able to silently import CSV files downloaded from
Online Quotes.
Notable changes:

  1. encoding is set on separator's page instead in file dialog, so native

file dialog can be used,

  1. classes for importing profiles has been created for clean code

structure,

  1. QTableView with QStandardItemModel is used instead of QTableWidget +

QStringList, so that less memory is used for CSV data,

  1. for recurring strings "static const QString" are used to avoid

inadverent bugs.

Diff Detail

Repository
R261 KMyMoney
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
wojnilowicz created this revision.May 20 2017, 9:12 AM
wojnilowicz edited the summary of this revision. (Show Details)

kmm_import cannot be STATIC and plugin, so build MODULE and STATIC.

This revision was automatically updated to reflect the committed changes.