knode
#include <knarticle.h>

Public Types | |
| enum | articleType { ATmimeContent, ATremote, ATlocal } | 
| typedef QList< KNArticle::Ptr > | List | 
| typedef boost::shared_ptr < KNArticle >  | Ptr | 
  Public Types inherited from KNJobItem | |
| typedef boost::shared_ptr < KNJobItem >  | Ptr | 
Public Member Functions | |
| KNArticle (boost::shared_ptr< KNArticleCollection > c) | |
| ~KNArticle () | |
| virtual void | clear () | 
| boost::shared_ptr < KNArticleCollection >  | collection () const | 
| int | id () const | 
| bool | isLocked () | 
| bool | isNotUnloadable () | 
| bool | isOrphant () const | 
| KNHdrViewItem * | listItem () const | 
| void | setCollection (boost::shared_ptr< KNArticleCollection > c) | 
| void | setId (int i) | 
| void | setListItem (KNHdrViewItem *i, KNArticle::Ptr a) | 
| void | setLocked (bool b=true) | 
| void | setNotUnloadable (bool b=true) | 
| virtual articleType | type () const | 
| virtual void | updateListItem () | 
  Public Member Functions inherited from KNJobItem | |
| KNJobItem () | |
| virtual | ~KNJobItem () | 
| virtual QString | prepareForExecution () | 
Protected Attributes | |
| boost::shared_ptr < KNArticleCollection >  | c_ol | 
| KMime::BoolFlags | f_lags | 
| int | i_d | 
| KNHdrViewItem * | i_tem | 
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 35 of file knarticle.h.
Member Typedef Documentation
| typedef QList<KNArticle::Ptr> KNArticle::List | 
List of articles.
Definition at line 41 of file knarticle.h.
| typedef boost::shared_ptr<KNArticle> KNArticle::Ptr | 
Shared pointer to a KNArticle. To be used instead of raw KNArticle*.
Definition at line 39 of file knarticle.h.
Member Enumeration Documentation
| Enumerator | |
|---|---|
| ATmimeContent | |
| ATremote | |
| ATlocal | |
Definition at line 43 of file knarticle.h.
Constructor & Destructor Documentation
      
  | 
  explicit | 
Definition at line 33 of file knarticle.cpp.
| KNArticle::~KNArticle | ( | ) | 
Definition at line 39 of file knarticle.cpp.
Member Function Documentation
      
  | 
  virtual | 
Definition at line 45 of file knarticle.cpp.
      
  | 
  inline | 
Definition at line 82 of file knarticle.h.
      
  | 
  inline | 
Returns the article id.
Definition at line 57 of file knarticle.h.
      
  | 
  inlinevirtual | 
Reimplemented from KNJobItem.
Definition at line 74 of file knarticle.h.
      
  | 
  inline | 
Definition at line 78 of file knarticle.h.
      
  | 
  inline | 
Definition at line 84 of file knarticle.h.
      
  | 
  inline | 
Definition at line 64 of file knarticle.h.
      
  | 
  inline | 
Definition at line 83 of file knarticle.h.
      
  | 
  inline | 
| void KNArticle::setListItem | ( | KNHdrViewItem * | i, | 
| KNArticle::Ptr | a | ||
| ) | 
Sets the headerview item associated to this article.
- Parameters
 - 
  
i The item associated to this item or 0 to break the link to the previous item. a The shared pointer of this article.  
Definition at line 51 of file knarticle.cpp.
      
  | 
  virtual | 
Reimplemented from KNJobItem.
Definition at line 61 of file knarticle.cpp.
      
  | 
  inline | 
Definition at line 79 of file knarticle.h.
      
  | 
  inlinevirtual | 
Reimplemented in KNLocalArticle, and KNRemoteArticle.
Definition at line 54 of file knarticle.h.
      
  | 
  inlinevirtual | 
Reimplemented in KNLocalArticle, and KNRemoteArticle.
Definition at line 71 of file knarticle.h.
Member Data Documentation
      
  | 
  protected | 
Definition at line 88 of file knarticle.h.
      
  | 
  protected | 
Definition at line 91 of file knarticle.h.
      
  | 
  protected | 
Definition at line 87 of file knarticle.h.
      
  | 
  protected | 
Definition at line 89 of file knarticle.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:37 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
    KDE API Reference
 Public Types inherited from