• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

knode

KNArticleCollection Class Reference

#include <knarticlecollection.h>

Inheritance diagram for KNArticleCollection:

Inheritance graph
[legend]

List of all members.


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]

Reimplemented in KNFolder, and KNGroup.

Definition at line 107 of file knarticlecollection.h.

KNArticle * KNArticleCollection::byId ( int  id  ) 

Reimplemented in KNFolder, and KNGroup.

Definition at line 362 of file knarticlecollection.cpp.

KNArticle * KNArticleCollection::byMessageId ( const QByteArray &  mid  ) 

Reimplemented in KNFolder, and KNGroup.

Definition at line 368 of file knarticlecollection.cpp.

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:
  • knarticlecollection.h
  • knarticlecollection.cpp

knode

Skip menu "knode"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal