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

kaddressbook

Public Member Functions | List of all members
QCsvBuilderInterface Class Referenceabstract

#include <qcsvreader.h>

Inheritance diagram for QCsvBuilderInterface:
Inheritance graph
[legend]

Public Member Functions

virtual ~QCsvBuilderInterface ()
 
virtual void begin ()=0
 
virtual void beginLine ()=0
 
virtual void end ()=0
 
virtual void endLine ()=0
 
virtual void error (const QString &errorMsg)=0
 
virtual void field (const QString &data, uint row, uint column)=0
 

Detailed Description

An interface to build data structures from a CSV file.

This class provides an abstract interface that can be used to build up data structures from a comma separated value file that is parsed with QCsvReader.

Author
Tobias Koenig tokoe.nosp@m.@kde.nosp@m..org

Definition at line 36 of file qcsvreader.h.

Constructor & Destructor Documentation

QCsvBuilderInterface::~QCsvBuilderInterface ( )
virtual

This method is called on the destruction of the interface.

Definition at line 28 of file qcsvreader.cpp.

Member Function Documentation

virtual void QCsvBuilderInterface::begin ( )
pure virtual

This method is called on start of the parsing.

Implemented in QCsvStandardBuilder, and CsvParser.

virtual void QCsvBuilderInterface::beginLine ( )
pure virtual

This method is called whenever a new line starts.

Implemented in QCsvStandardBuilder, and CsvParser.

virtual void QCsvBuilderInterface::end ( )
pure virtual

This method is called at the end of parsing.

Implemented in QCsvStandardBuilder, and CsvParser.

virtual void QCsvBuilderInterface::endLine ( )
pure virtual

This method is called whenever a line ends.

Implemented in QCsvStandardBuilder, and CsvParser.

virtual void QCsvBuilderInterface::error ( const QString &  errorMsg)
pure virtual

This method is called whenever an error occurs during parsing.

Parameters
errorMsgThe error message.

Implemented in QCsvStandardBuilder, and CsvParser.

virtual void QCsvBuilderInterface::field ( const QString &  data,
uint  row,
uint  column 
)
pure 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.

Implemented in QCsvStandardBuilder, and CsvParser.


The documentation for this class was generated from the following files:
  • qcsvreader.h
  • qcsvreader.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