kaddressbook
qcsvmodel.cpp
Go to the documentation of this file.
QChar delimiter() const
Returns the delimiter that is used as delimiter for fields.
Definition: qcsvmodel.cpp:216
void setTextCodec(QTextCodec *textCodec)
Sets the text codec that shall be used for parsing the csv list.
Definition: qcsvmodel.cpp:242
virtual int rowCount(const QModelIndex &parent=QModelIndex()) const
Inherited from QAbstractTableModel.
Definition: qcsvmodel.cpp:272
void setStartRow(uint startRow)
Sets the row from where the parsing shall be started.
Definition: qcsvmodel.cpp:221
void setDelimiter(const QChar &delimiter)
Sets the character that is used as delimiter for fields.
Definition: qcsvmodel.cpp:200
void rowCountChanged(int rows)
void finishedLoading()
This signal is emitted whenever the model has loaded all data.
virtual QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
Inherited from QAbstractTableModel.
Definition: qcsvmodel.cpp:281
bool load(QIODevice *device)
Loads the data from the device into the model.
Definition: qcsvmodel.cpp:166
virtual Qt::ItemFlags flags(const QModelIndex &index) const
Inherited from QAbstractTableModel.
Definition: qcsvmodel.cpp:326
void error(const QString &errorMsg)
This method is called whenever an error occurs during parsing.
Definition: qcsvmodel.cpp:85
void ended()
void columnCountChanged(int columns)
virtual int columnCount(const QModelIndex &parent=QModelIndex()) const
Inherited from QAbstractTableModel.
Definition: qcsvmodel.cpp:263
QChar textQuote() const
Returns the character that is used for quoting.
Definition: qcsvmodel.cpp:195
void field(const QString &data, uint row, uint column)
This method is called for every parsed field.
Definition: qcsvmodel.cpp:59
void setTextQuote(const QChar &textQuote)
Sets the character that is used for quoting.
Definition: qcsvmodel.cpp:179
Definition: qcsvmodel_p.h:27
virtual bool setData(const QModelIndex &index, const QVariant &data, int role=Qt::EditRole)
Inherited from QAbstractTableModel.
Definition: qcsvmodel.cpp:313
QTextCodec * textCodec() const
Returns the text codec that is used for parsing the csv list.
Definition: qcsvmodel.cpp:258
Definition: qcsvmodel.h:25
void dataChanged(const QString &data, int row, int column)
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.