knode
knmemorymanager.cpp
Go to the documentation of this file.
122 KNMemoryManager::CollectionItem * KNMemoryManager::findCacheEntry( KNArticleCollection::Ptr c, bool take )
169 knGlobals.groupManager()->unloadHeaders( boost::static_pointer_cast<KNGroup>( c ), false ); // *try* to unload
172 knGlobals.folderManager()->unloadHeaders( boost::static_pointer_cast<KNFolder>( c ), false ); // *try* to unload
void updateCacheEntry(KNArticleCollection::Ptr c)
Collection-Handling.
Definition: knmemorymanager.cpp:40
void checkMemoryUsageCollections()
Definition: knmemorymanager.cpp:152
iterator erase(iterator pos)
int count(const T &value) const
void append(const T &value)
typedef Iterator
iterator end()
void removeCacheEntry(KNArticleCollection::Ptr c)
Definition: knmemorymanager.cpp:61
Definition: kncollection.h:35
CollectionItem * findCacheEntry(KNArticleCollection::Ptr c, bool take=false)
Definition: knmemorymanager.cpp:122
boost::shared_ptr< KNArticle > Ptr
Shared pointer to a KNArticle. To be used instead of raw KNArticle*.
Definition: knarticle.h:41
Definition: kncollection.h:36
boost::shared_ptr< KNArticleCollection > Ptr
Shared pointer to a KNArticle.
Definition: knarticlecollection.h:82
void checkMemoryUsageArticles()
Definition: knmemorymanager.cpp:182
void prepareLoad(KNArticleCollection::Ptr c)
try to free enough memory for this collection
Definition: knmemorymanager.cpp:76
iterator begin()
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:18 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:34:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.