Messagelib
storagemodelbase.h
50 * The uniqueIdOfMessage may be 0 (which means that no selection shall be stored in the configuration).
82 };
89 virtual void fillMessageItemThreadingData(MessageItem *mi, int row, ThreadingDataSubset subset) const = 0;
The QAbstractItemModel based interface that you need to provide for your storage to work with Message...
Definition storagemodelbase.h:29
virtual bool initializeMessageItem(MessageItem *it, int row, bool bUseReceiver) const =0
This method should use the inner model implementation to fill in the base data for the specified Mess...
virtual void fillMessageItemThreadingData(MessageItem *mi, int row, ThreadingDataSubset subset) const =0
This method should use the inner model implementation to fill in the specified subset of threading da...
virtual QString id() const =0
Returns an unique id for this Storage collection.
virtual QMimeData * mimeData(const QList< MessageItem * > &) const =0
The implementation-specific mime data for this list of items.
void savePreSelectedMessage(unsigned long uniqueIdOfMessage)
Stores in the unique id of the last selected message for the specified StorageModel.
Definition storagemodelbase.cpp:40
unsigned long preSelectedMessage() const
Returns the unique id of the last selected message for this StorageModel.
Definition storagemodelbase.cpp:27
virtual bool containsOutboundMessages() const =0
Returns true if this StorageModel (folder) contains outbound messages and false otherwise.
virtual void setMessageItemStatus(MessageItem *mi, int row, Akonadi::MessageStatus status)=0
This method should use the inner model implementation to associate the new status to the specified me...
virtual void updateMessageItemData(MessageItem *mi, int row) const =0
This method should use the inner model implementation to re-fill the date, the status,...
virtual int initialUnreadRowCountGuess() const
Returns (a guess for) the number of unread messages: must be pessimistic (i.e.
Definition storagemodelbase.cpp:22
ThreadingDataSubset
Definition storagemodelbase.h:78
@ PerfectThreadingOnly
Only the data for messageIdMD5 and inReplyToMD5 is needed.
Definition storagemodelbase.h:79
@ PerfectThreadingReferencesAndSubject
All of the above plus subject stuff.
Definition storagemodelbase.h:81
@ PerfectThreadingPlusReferences
messageIdMD5, inReplyToMD5, referencesIdMD5
Definition storagemodelbase.h:80
Q_SCRIPTABLE CaptureState status()
virtual QMimeData * mimeData(const QModelIndexList &indexes) const const
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.