KMBox Library
23#include "kmbox_export.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 );
140 bool purge(
const MBoxEntry::List &deletedEntries, QList<MBoxEntry::Pair> *movedEntries = 0 );
154 KMime::Message *readMessage(
const MBoxEntry &entry );
167 QByteArray readMessageHeaders(
const MBoxEntry &entry );
180 QByteArray readRawMessage(
const MBoxEntry &entry );
193 bool save(
const QString &fileName = QString() );
204 bool setLockType( LockType ltype );
213 void setLockFile(
const QString &lockFile );
222 void setUnlockTimeout(
int msec );
248 void setReadOnly(
bool ro =
true);
258 bool isReadOnly()
const;
262 friend class MBoxPrivate;
263 MBoxPrivate *
const d;
A class that encapsulates an entry of a MBox.
QList< MBoxEntry > List
Describes a list of mbox entry objects.
A class to access mail storages in MBox format.
LockType
Describes the type of locking that will be used.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by
doxygen 1.9.5 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.