console/kabcclient
inputformatimpls.cpp
Go to the documentation of this file.
virtual QString description() const
Returns a translate description of the input format.
Definition: inputformatimpls.cpp:178
virtual bool setOptions(const QByteArray &options)
Configures the input format.
Definition: inputformatimpls.cpp:386
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
virtual bool setCodec(QTextCodec *codec)
Sets the text codec to use.
Definition: inputformatimpls.cpp:124
virtual QByteArray name() const =0
QStringList split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
virtual bool setCodec(QTextCodec *codec)
Sets the text codec to use.
Definition: inputformatimpls.cpp:193
const_iterator constBegin() const
virtual QString description() const
Returns a translate description of the input format.
Definition: inputformatimpls.cpp:315
QMap< QString, QString > templateNames()
Returns a set of available templates.
Definition: csvtemplatefactory.cpp:96
virtual KABC::Addressee readAddressee(std::istream &stream)
Reads one addressee from the input stream.
Definition: inputformatimpls.cpp:591
virtual bool setOptions(const QByteArray &options)
Configures the input format.
Definition: inputformatimpls.cpp:574
virtual KABC::Addressee readAddressee(std::istream &stream)
Reads a single contact from the input stream.
Definition: inputformatimpls.cpp:146
virtual bool setCodec(QTextCodec *codec)
Sets the text codec to use.
Definition: inputformatimpls.cpp:331
virtual QString description() const
Returns a translate description of the input format.
Definition: inputformatimpls.cpp:44
virtual QString description() const
Returns a translate description of the input format.
Definition: inputformatimpls.cpp:567
virtual bool setCodec(QTextCodec *codec)
Sets the text codec to use.
Definition: inputformatimpls.cpp:59
virtual KABC::Addressee readAddressee(std::istream &stream)
Reads one addressee from the input stream.
Definition: inputformatimpls.cpp:342
void clear()
QString fromLocal8Bit(const char *str, int size)
virtual bool setOptions(const QByteArray &options)
Configures the input format.
Definition: inputformatimpls.cpp:185
void append(const T &value)
QString fromUtf8(const char *str, int size)
virtual bool setCodec(QTextCodec *codec)
Sets the text codec to use.
Definition: inputformatimpls.cpp:582
void setFieldText(int column, KABC::Addressee &addressee, const QString &text) const
Sets an addressee field using the data of a given text.
Definition: csvtemplate.cpp:255
virtual QString description() const
Returns a translate description of the input format.
Definition: inputformatimpls.cpp:242
bool isEmpty() const
const_iterator constEnd() const
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
virtual KABC::Addressee readAddressee(std::istream &stream)
Reads one addressee from the input stream.
Definition: inputformatimpls.cpp:439
virtual bool setCodec(QTextCodec *codec)
Sets the text codec to use.
Definition: inputformatimpls.cpp:428
QByteArray toLocal8Bit() const
virtual QString optionUsage() const
Returns a translate message about the available format options.
Definition: inputformatimpls.cpp:398
CSVTemplate * createCachedTemplate(const QString &name)
Creates a template handler for a given name and caches the instance.
Definition: csvtemplatefactory.cpp:74
static CSVTemplate * defaultTemplate()
Returns the template with default setup.
Definition: csvtemplate.cpp:429
virtual KABC::Addressee readAddressee(std::istream &stream)
Reads one addressee from the input stream.
Definition: inputformatimpls.cpp:269
const Key key(const T &value) const
QString mid(int position, int n) const
virtual bool setOptions(const QByteArray &options)
Configures the input format.
Definition: inputformatimpls.cpp:116
virtual bool setOptions(const QByteArray &options)
Configures the input format.
Definition: inputformatimpls.cpp:250
virtual KABC::Addressee readAddressee(std::istream &stream)
Reads one addressee from the input stream.
Definition: inputformatimpls.cpp:70
int length() const
char * data()
QString left(int n) const
QString fromLatin1(const char *str, int size)
virtual QString description() const
Returns a translate description of the input format.
Definition: inputformatimpls.cpp:102
const_iterator constEnd() const
const_iterator constBegin() const
virtual KABC::Addressee readAddressee(std::istream &stream)
Reads one addressee from the input stream.
Definition: inputformatimpls.cpp:204
QString toUnicode(const QByteArray &a) const
virtual bool setCodec(QTextCodec *codec)
Sets the text codec to use.
Definition: inputformatimpls.cpp:258
virtual bool setOptions(const QByteArray &options)
Configures the input format.
Definition: inputformatimpls.cpp:323
virtual bool setOptions(const QByteArray &options)
Configures the input format.
Definition: inputformatimpls.cpp:51
const T value(const Key &key) const
virtual QString description() const
Returns a translate description of the input format.
Definition: inputformatimpls.cpp:379
QByteArray toUtf8() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:23 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:31:23 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.