23#include "DataFileAbstract.h"
25using namespace Qt::Literals::StringLiterals;
36 class CSV :
public DataFileAbstract
46 CSV(
const QString& fileName);
58 [[nodiscard]] QVector<QStringList>
lines()
const {
return m_lines; }
69 [[nodiscard]]
static QStringList
mimeTypes() {
return {u
"text/csv"_s, u
"text/plain"_s}; }
73 static QStringList parseCSV(
const QString&
string);
75 QVector<QStringList> m_lines;