libkdepim
maillistdrag.cpp
Go to the documentation of this file.
156 /* We have three different possible mime types: x-kmail-drag/message-list, message/rfc822, and URL
void clear()
QByteArray data(const QString &mimeType) const
virtual QVariant retrieveData(const QString &mimeType, QVariant::Type type) const
virtual QByteArray text(quint32 serialNumber) const =0
virtual bool hasFormat(const QString &mimeType) const
int count() const
virtual QVariant retrieveData(const QString &mimeType, QVariant::Type type) const
Reimplemented so that the message/rfc822 mimetype data can be retrieved from mMailTextSource.
Definition: maillistdrag.cpp:239
bool isEmpty() const
Object for the drag object to call-back for message fulltext.
Definition: maillistdrag.h:106
void populateMimeData(QMimeData *md)
Definition: maillistdrag.cpp:154
virtual bool hasFormat(const QString &mimeType) const
Definition: maillistdrag.cpp:223
int size() const
int count(const T &value) const
static MailList fromMimeData(const QMimeData *md)
Definition: maillistdrag.cpp:171
void append(const T &value)
QString messageId() const
MD5 checksum of message identification string.
Definition: maillistdrag.cpp:104
virtual bool open(QFlags< QIODevice::OpenModeFlag > flags)
static MailList decode(const QByteArray &payload)
Definition: maillistdrag.cpp:180
bool atEnd() const
QByteArray & append(char ch)
iterator end()
uint toTime_t() const
void set(quint32, const QString &, const QString &, const QString &, const QString &, time_t)
Set fields for this mail summary.
Definition: maillistdrag.cpp:129
virtual void close()
static QByteArray serialsFromMimeData(const QMimeData *md)
Definition: maillistdrag.cpp:191
typedef ConstIterator
QDataStream & operator<<(QDataStream &s, const MailSummary &d)
Definition: maillistdrag.cpp:40
virtual QStringList formats() const
void prepend(const T &value)
void setData(const QString &mimeType, const QByteArray &data)
const_iterator constEnd() const
const_iterator constBegin() const
int size() const
MailListMimeData(MailTextSource *src=0)
Definition: maillistdrag.cpp:212
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:50 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:33:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.