Search for usage in LXR

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 45 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-2022 The KDE developers.
Generated on Thu May 26 2022 03:52:56 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.