blob: f5daa60b98b4615323190103a6ed2f78b7ce68aa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include "csvformat.h"
#include <QtGlobal>
const CsvFormat CsvFormat::DEFAULT = {",", "\n"};
CsvFormat::CsvFormat()
{
}
CsvFormat::CsvFormat(const QString& columnSeparator, const QString& rowSeparator) :
columnSeparator(columnSeparator), rowSeparator(rowSeparator)
{
}
CsvFormat::CsvFormat(const QString& columnSeparator, const QString& rowSeparator, bool strictRowSeparator, bool strictColumnSeparator) :
columnSeparator(columnSeparator), rowSeparator(rowSeparator), strictColumnSeparator(strictColumnSeparator), strictRowSeparator(strictRowSeparator)
{
}
|