knode
KNArticleCollection Class Reference
#include <knarticlecollection.h>

Detailed Description
Abstract base class for article collections, ie.news groups and folders.
Definition at line 78 of file knarticlecollection.h.
Public Member Functions | |
| bool | append (KNArticle *a, bool autoSync=false) |
| void | articleLocked () |
| void | articleUnlocked () |
| KNArticle * | at (int i) |
| KNArticle * | byId (int id) |
| KNArticle * | byMessageId (const QByteArray &mid) |
| void | clear () |
| void | clearSearchIndex () |
| void | compact () |
| bool | isEmpty () |
| bool | isLoaded () |
| bool | isNotUnloadable () |
| KNArticleCollection (KNCollection *p=0) | |
| int | length () |
| unsigned int | lockedArticles () |
| bool | resize (int s=0) |
| void | setLastID () |
| void | setNotUnloadable (bool b=true) |
| int | size () |
| void | syncSearchIndex () |
| ~KNArticleCollection () | |
Protected Attributes | |
| KNArticleVector | a_rticles |
| int | l_astID |
| unsigned int | l_ockedArticles |
| KNArticleVector | m_idIndex |
| bool | n_otUnloadable |
Constructor & Destructor Documentation
| KNArticleCollection::KNArticleCollection | ( | KNCollection * | p = 0 |
) |
Definition at line 307 of file knarticlecollection.cpp.
| KNArticleCollection::~KNArticleCollection | ( | ) |
Definition at line 317 of file knarticlecollection.cpp.
Member Function Documentation
| bool KNArticleCollection::append | ( | KNArticle * | a, | |
| bool | autoSync = false | |||
| ) |
Definition at line 331 of file knarticlecollection.cpp.
| void KNArticleCollection::articleLocked | ( | ) | [inline] |
Definition at line 96 of file knarticlecollection.h.
| void KNArticleCollection::articleUnlocked | ( | ) | [inline] |
Definition at line 97 of file knarticlecollection.h.
| KNArticle* KNArticleCollection::at | ( | int | i | ) | [inline] |
| KNArticle * KNArticleCollection::byId | ( | int | id | ) |
| KNArticle * KNArticleCollection::byMessageId | ( | const QByteArray & | mid | ) |
| void KNArticleCollection::clear | ( | ) |
Definition at line 346 of file knarticlecollection.cpp.
| void KNArticleCollection::clearSearchIndex | ( | ) |
Definition at line 397 of file knarticlecollection.cpp.
| void KNArticleCollection::compact | ( | ) |
Definition at line 355 of file knarticlecollection.cpp.
| bool KNArticleCollection::isEmpty | ( | ) | [inline] |
Returns true if this collection doesn't contain any article.
Definition at line 85 of file knarticlecollection.h.
| bool KNArticleCollection::isLoaded | ( | ) | [inline] |
Definition at line 86 of file knarticlecollection.h.
| bool KNArticleCollection::isNotUnloadable | ( | ) | [inline] |
Definition at line 91 of file knarticlecollection.h.
| int KNArticleCollection::length | ( | ) | [inline] |
Definition at line 88 of file knarticlecollection.h.
| unsigned int KNArticleCollection::lockedArticles | ( | ) | [inline] |
Definition at line 95 of file knarticlecollection.h.
| bool KNArticleCollection::resize | ( | int | s = 0 |
) |
Definition at line 324 of file knarticlecollection.cpp.
| void KNArticleCollection::setLastID | ( | ) |
Definition at line 378 of file knarticlecollection.cpp.
| void KNArticleCollection::setNotUnloadable | ( | bool | b = true |
) | [inline] |
Definition at line 92 of file knarticlecollection.h.
| int KNArticleCollection::size | ( | ) | [inline] |
Definition at line 87 of file knarticlecollection.h.
| void KNArticleCollection::syncSearchIndex | ( | ) |
Definition at line 387 of file knarticlecollection.cpp.
Member Data Documentation
KNArticleVector KNArticleCollection::a_rticles [protected] |
Definition at line 119 of file knarticlecollection.h.
int KNArticleCollection::l_astID [protected] |
Definition at line 116 of file knarticlecollection.h.
unsigned int KNArticleCollection::l_ockedArticles [protected] |
Definition at line 117 of file knarticlecollection.h.
KNArticleVector KNArticleCollection::m_idIndex [protected] |
Definition at line 120 of file knarticlecollection.h.
bool KNArticleCollection::n_otUnloadable [protected] |
Definition at line 118 of file knarticlecollection.h.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference