• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

kaddressbook

Signals | Public Member Functions | Protected Member Functions | List of all members
CsvParser Class Reference

#include <qcsvmodel_p.h>

Inheritance diagram for CsvParser:
Inheritance graph
[legend]

Signals

void columnCountChanged (int columns)
 
void dataChanged (const QString &data, int row, int column)
 
void ended ()
 
void rowCountChanged (int rows)
 

Public Member Functions

 CsvParser (QObject *parent)
 
 ~CsvParser ()
 
void begin ()
 
void beginLine ()
 
void end ()
 
void endLine ()
 
void error (const QString &errorMsg)
 
void field (const QString &data, uint row, uint column)
 
void load (QIODevice *device)
 
QCsvReader * reader ()
 
- Public Member Functions inherited from QCsvBuilderInterface
virtual ~QCsvBuilderInterface ()
 

Protected Member Functions

virtual void run ()
 

Detailed Description

Definition at line 27 of file qcsvmodel_p.h.

Constructor & Destructor Documentation

CsvParser::CsvParser ( QObject *  parent)
explicit

Definition at line 29 of file qcsvmodel.cpp.

CsvParser::~CsvParser ( )

Definition at line 35 of file qcsvmodel.cpp.

Member Function Documentation

void CsvParser::begin ( )
virtual

This method is called on start of the parsing.

Implements QCsvBuilderInterface.

Definition at line 47 of file qcsvmodel.cpp.

void CsvParser::beginLine ( )
virtual

This method is called whenever a new line starts.

Implements QCsvBuilderInterface.

Definition at line 54 of file qcsvmodel.cpp.

void CsvParser::columnCountChanged ( int  columns)
signal
void CsvParser::dataChanged ( const QString &  data,
int  row,
int  column 
)
signal
void CsvParser::end ( )
virtual

This method is called at the end of parsing.

Implements QCsvBuilderInterface.

Definition at line 79 of file qcsvmodel.cpp.

void CsvParser::ended ( )
signal
void CsvParser::endLine ( )
virtual

This method is called whenever a line ends.

Implements QCsvBuilderInterface.

Definition at line 70 of file qcsvmodel.cpp.

void CsvParser::error ( const QString &  errorMsg)
virtual

This method is called whenever an error occurs during parsing.

Parameters
errorMsgThe error message.

Implements QCsvBuilderInterface.

Definition at line 85 of file qcsvmodel.cpp.

void CsvParser::field ( const QString &  data,
uint  row,
uint  column 
)
virtual

This method is called for every parsed field.

Parameters
dataThe data of the field.
rowThe row of the field.
columnThe column of the field.

Implements QCsvBuilderInterface.

Definition at line 59 of file qcsvmodel.cpp.

void CsvParser::load ( QIODevice *  device)

Definition at line 40 of file qcsvmodel.cpp.

QCsvReader* CsvParser::reader ( )
inline

Definition at line 44 of file qcsvmodel_p.h.

void CsvParser::rowCountChanged ( int  rows)
signal
void CsvParser::run ( )
protectedvirtual

Definition at line 89 of file qcsvmodel.cpp.


The documentation for this class was generated from the following files:
  • qcsvmodel_p.h
  • qcsvmodel.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kaddressbook

Skip menu "kaddressbook"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal