16class QAbstractItemModel;
39bool toCSV(QAbstractItemModel *model,
const QString &filePath);
50bool toJSON(QAbstractItemModel *model,
const QString &filePath);
Free functions that serialise any QAbstractItemModel to CSV or JSON.
Definition table_export.cpp:23
bool toCSV(QAbstractItemModel *model, const QString &filePath)
Writes model to an RFC 4180 CSV file at filePath.
Definition table_export.cpp:41
bool toJSON(QAbstractItemModel *model, const QString &filePath)
Writes model to a JSON file at filePath.
Definition table_export.cpp:78