kioslave/mbox
readmbox.cpp
MBoxProtocol *const m_mbox
A instance of the parent protocol, meant to throw errors if neccesairy.
Definition: mboxfile.h:66
QIODevice * device() const
QString readLine(qint64 maxlen)
This class is the main class and implements all function which can be called through the user...
Definition: mbox.h:33
bool isNull() const
void clear()
bool atEnd() const
bool inListing() const
Return true if the message is a new message, or all messages are listed.
Definition: readmbox.cpp:157
bool isEmpty() const
QString trimmed() const
unsigned int skipMessage()
Skips all lines which belongs to the current message.
Definition: readmbox.cpp:124
virtual bool reset()
virtual bool open(QFlags< QIODevice::OpenModeFlag > mode)
bool contains(QChar ch, Qt::CaseSensitivity cs) const
virtual void close()
void emitError(int _errno, const QString &arg)
Through this functions, other class which have an instance to this class (classes which are part of k...
Definition: mbox.cpp:155
bool searchMessage(const QString &id)
This function search the file for a certain id.
Definition: readmbox.cpp:111
int length() const
QString left(int n) const
const UrlInfo *const m_info
This can be used to get information about the file.
Definition: mboxfile.h:61
ReadMBox(const UrlInfo *info, MBoxProtocol *parent, bool onlynew=false, bool savetime=false)
Constructor.
Definition: readmbox.cpp:34
QByteArray encodeName(const QString &fileName)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:11 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:37:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.