KMBox Library
23 #include "kmbox_export.h"
24 #include "mboxentry.h"
26 #include <kmime/kmime_message.h>
47 MuttDotlockPrivileged,
73 MBoxEntry appendMessage(
const KMime::Message::Ptr &message );
87 QString fileName()
const;
101 bool load(
const QString &fileName );
141 bool purge(
const MBoxEntry::List &deletedEntries, QList<MBoxEntry::Pair> *movedEntries = 0 );
155 KMime::Message *readMessage(
const MBoxEntry &entry );
168 QByteArray readMessageHeaders(
const MBoxEntry &entry );
181 QByteArray readRawMessage(
const MBoxEntry &entry );
194 bool save(
const QString &fileName = QString() );
205 bool setLockType( LockType ltype );
214 void setLockFile(
const QString &lockFile );
223 void setUnlockTimeout(
int msec );
236 friend class MBoxPrivate;
237 MBoxPrivate *
const d;
243 #endif // KMBOX_MBOX_H
A class to access mail storages in MBox format.
QList< MBoxEntry > List
Describes a list of mbox entry objects.
LockType
Describes the type of locking that will be used.
A class that encapsulates an entry of a MBox.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:10 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.