kaddressbook
qcsvreader.h
Go to the documentation of this file.
void setTextCodec(QTextCodec *textCodec)
Sets the text codec that shall be used for parsing the csv list.
Definition: qcsvreader.cpp:297
virtual void error(const QString &errorMsg)=0
This method is called whenever an error occurs during parsing.
virtual void beginLine()=0
This method is called whenever a new line starts.
virtual void field(const QString &data, uint row, uint column)=0
This method is called for every parsed field.
virtual ~QCsvBuilderInterface()
This method is called on the destruction of the interface.
Definition: qcsvreader.cpp:28
void setDelimiter(const QChar &delimiter)
Sets the character that is used as delimiter for fields.
Definition: qcsvreader.cpp:277
void setTextQuote(const QChar &textQuote)
Sets the character that is used for quoting.
Definition: qcsvreader.cpp:267
void setStartRow(uint startRow)
Sets the row from where the parsing shall be started.
Definition: qcsvreader.cpp:287
QChar delimiter() const
Returns the delimiter that is used as delimiter for fields.
A convenience class that implements QCsvBuilderInterface.
Definition: qcsvreader.h:186
An interface to build data structures from a CSV file.
Definition: qcsvreader.h:36
QTextCodec * textCodec() const
Returns the text codec that is used for parsing the csv list.
Definition: qcsvreader.cpp:302
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:34 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:34 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.