knode
KNArticle Class Reference
#include <knarticle.h>

Detailed Description
This class encapsulates a generic article.It provides all the usual headers of a RFC822-message. Further more it contains an unique id and can store a pointer to a QListViewItem. It is used as a base class for all visible articles.
Definition at line 39 of file knarticle.h.
Public Types | |
| enum | articleType { ATmimeContent, ATremote, ATlocal } |
| typedef QList< KNArticle * > | List |
Public Member Functions | |
| virtual void | clear () |
| KNArticleCollection * | collection () const |
| int | id () const |
| bool | isLocked () |
| bool | isNotUnloadable () |
| bool | isOrphant () const |
| KNArticle (KNArticleCollection *c) | |
| KNHdrViewItem * | listItem () const |
| void | setCollection (KNArticleCollection *c) |
| void | setId (int i) |
| void | setListItem (KNHdrViewItem *i) |
| void | setLocked (bool b=true) |
| void | setNotUnloadable (bool b=true) |
| virtual articleType | type () const |
| virtual void | updateListItem () |
| ~KNArticle () | |
Protected Member Functions | |
| virtual QByteArray | assembleHeaders () |
Protected Attributes | |
| KNArticleCollection * | c_ol |
| KMime::BoolFlags | f_lags |
| int | i_d |
| KNHdrViewItem * | i_tem |
Member Typedef Documentation
| typedef QList<KNArticle*> KNArticle::List |
List of articles.
Reimplemented in KNRemoteArticle, and KNLocalArticle.
Definition at line 43 of file knarticle.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
| KNArticle::KNArticle | ( | KNArticleCollection * | c | ) |
Definition at line 33 of file knarticle.cpp.
| KNArticle::~KNArticle | ( | ) |
Definition at line 38 of file knarticle.cpp.
Member Function Documentation
| QByteArray KNArticle::assembleHeaders | ( | ) | [protected, virtual] |
Definition at line 69 of file knarticle.cpp.
| void KNArticle::clear | ( | ) | [virtual] |
| KNArticleCollection* KNArticle::collection | ( | ) | const [inline] |
Definition at line 79 of file knarticle.h.
| int KNArticle::id | ( | ) | const [inline] |
| bool KNArticle::isLocked | ( | ) | [inline, virtual] |
| bool KNArticle::isNotUnloadable | ( | ) | [inline] |
Definition at line 75 of file knarticle.h.
| bool KNArticle::isOrphant | ( | ) | const [inline] |
Definition at line 81 of file knarticle.h.
| KNHdrViewItem* KNArticle::listItem | ( | ) | const [inline] |
Definition at line 66 of file knarticle.h.
| void KNArticle::setCollection | ( | KNArticleCollection * | c | ) | [inline] |
Definition at line 80 of file knarticle.h.
| void KNArticle::setId | ( | int | i | ) | [inline] |
| void KNArticle::setListItem | ( | KNHdrViewItem * | i | ) |
Definition at line 50 of file knarticle.cpp.
| void KNArticle::setLocked | ( | bool | b = true |
) | [virtual] |
| void KNArticle::setNotUnloadable | ( | bool | b = true |
) | [inline] |
Definition at line 76 of file knarticle.h.
| virtual articleType KNArticle::type | ( | ) | const [inline, virtual] |
| virtual void KNArticle::updateListItem | ( | ) | [inline, virtual] |
Member Data Documentation
KNArticleCollection* KNArticle::c_ol [protected] |
Definition at line 86 of file knarticle.h.
KMime::BoolFlags KNArticle::f_lags [protected] |
Definition at line 89 of file knarticle.h.
int KNArticle::i_d [protected] |
Definition at line 85 of file knarticle.h.
KNHdrViewItem* KNArticle::i_tem [protected] |
Definition at line 87 of file knarticle.h.
The documentation for this class was generated from the following files:
KDE 4.1 API Reference