MessageList::Core::MessageItemSetManager

MessageList::Core::MessageItemSetManager Class Reference

#include <messageitemsetmanager.h>

Public Member Functions

bool addMessageItem (MessageItemSetReference ref, MessageItem *mi)
 
void clearAllSets ()
 
MessageItemSetReference createSet ()
 
QList< MessageItem * > messageItems (MessageItemSetReference ref)
 
void removeMessageItemFromAllSets (MessageItem *mi)
 
void removeSet (MessageItemSetReference ref)
 
int setCount () const
 

Detailed Description

This class manages sets of messageitem references.

It can be used to create a set, add some messages to it and get a reference that later can be used to retrieve the stored messages.

It's used by Model to keep track of jobs requested from outside that operate on sets of MessageItem instances. Model takes care of removing the deleted MessageItem objects from the sets in order to avoid invalid references.

Definition at line 32 of file messageitemsetmanager.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Aug 10 2020 23:17:41 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.