More case fixes of filenames.

This commit is contained in:
eelke 2017-02-12 15:51:36 +01:00
parent 20af12535e
commit e71ef2e6df
41 changed files with 258 additions and 123 deletions

23
src/CsvWriter.h Normal file
View file

@ -0,0 +1,23 @@
#ifndef CSVWRITER_H
#define CSVWRITER_H
#include <ostream>
#include <QTextStream>
class CsvWriter {
public:
CsvWriter();
explicit CsvWriter(QTextStream *output);
void setDestination(QTextStream *output);
void setSeperator(QChar ch);
void setQuote(QChar ch);
void writeField(QString field);
void nextRow();
private:
QChar m_seperator = ',';
QChar m_quote = '"';
QTextStream *m_output = nullptr;
int m_column = 0;
};
#endif // CSVWRITER_H