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

knode

Public Types | Public Member Functions | Protected Attributes | List of all members
KNLocalArticle Class Reference

#include <knarticle.h>

Inheritance diagram for KNLocalArticle:
Inheritance graph
[legend]

Public Types

typedef QList
< KNLocalArticle::Ptr > 
List
 
typedef boost::shared_ptr
< KNLocalArticle > 
Ptr
 
- Public Types inherited from KNArticle
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

 KNLocalArticle (boost::shared_ptr< KNArticleCollection > c=boost::shared_ptr< KNArticleCollection >())
 
 ~KNLocalArticle ()
 
bool canceled ()
 
bool doMail ()
 
bool doPost ()
 
bool editDisabled ()
 
int endOffset () const
 
bool filterResult ()
 
bool isSavedRemoteArticle ()
 
bool mailed ()
 
bool pending ()
 
bool posted ()
 
int serverId ()
 
void setCanceled (bool b=true)
 
void setDoMail (bool b=true)
 
void setDoPost (bool b=true)
 
void setEditDisabled (bool b=true)
 
void setEndOffset (int eo)
 
void setFilterResult (bool b=true)
 
virtual void setForceDefaultCharset (bool b)
 
void setMailed (bool b=true)
 
void setPosted (bool b=true)
 
void setServerId (int i)
 
void setStartOffset (int so)
 
int startOffset () const
 
articleType type () const
 
void updateListItem ()
 
- Public Member Functions inherited from KNArticle
 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)
 
- Public Member Functions inherited from KNJobItem
 KNJobItem ()
 
virtual ~KNJobItem ()
 
virtual QString prepareForExecution ()
 

Protected Attributes

int e_Offset
 
int s_erverId
 
int s_Offset
 
- Protected Attributes inherited from KNArticle
boost::shared_ptr
< KNArticleCollection > 
c_ol
 
KMime::BoolFlags f_lags
 
int i_d
 
KNHdrViewItem * i_tem
 

Detailed Description

This class encapsulates an article, that is stored locally in an MBOX-file.

All own and saved articles are represented by instances of this class.

Definition at line 212 of file knarticle.h.

Member Typedef Documentation

typedef QList<KNLocalArticle::Ptr> KNLocalArticle::List

List of local articles.

Definition at line 218 of file knarticle.h.

typedef boost::shared_ptr<KNLocalArticle> KNLocalArticle::Ptr

Shared pointer to a KNLocalArticle. To be used instead of raw KNLocalArticle*.

Definition at line 216 of file knarticle.h.

Constructor & Destructor Documentation

KNLocalArticle::KNLocalArticle ( boost::shared_ptr< KNArticleCollection >  c = boost::shared_ptr<KNArticleCollection>())
explicit

Definition at line 234 of file knarticle.cpp.

KNLocalArticle::~KNLocalArticle ( )

Definition at line 241 of file knarticle.cpp.

Member Function Documentation

bool KNLocalArticle::canceled ( )
inline

Definition at line 237 of file knarticle.h.

bool KNLocalArticle::doMail ( )
inline

Definition at line 227 of file knarticle.h.

bool KNLocalArticle::doPost ( )
inline

Definition at line 233 of file knarticle.h.

bool KNLocalArticle::editDisabled ( )
inline

Definition at line 245 of file knarticle.h.

int KNLocalArticle::endOffset ( ) const
inline

Definition at line 255 of file knarticle.h.

bool KNLocalArticle::filterResult ( )
inline

Definition at line 249 of file knarticle.h.

bool KNLocalArticle::isSavedRemoteArticle ( )
inline

Definition at line 242 of file knarticle.h.

bool KNLocalArticle::mailed ( )
inline

Definition at line 229 of file knarticle.h.

bool KNLocalArticle::pending ( )
inline

Definition at line 241 of file knarticle.h.

bool KNLocalArticle::posted ( )
inline

Definition at line 235 of file knarticle.h.

int KNLocalArticle::serverId ( )
inline

Definition at line 259 of file knarticle.h.

void KNLocalArticle::setCanceled ( bool  b = true)
inline

Definition at line 238 of file knarticle.h.

void KNLocalArticle::setDoMail ( bool  b = true)
inline

Definition at line 228 of file knarticle.h.

void KNLocalArticle::setDoPost ( bool  b = true)
inline

Definition at line 234 of file knarticle.h.

void KNLocalArticle::setEditDisabled ( bool  b = true)
inline

Definition at line 246 of file knarticle.h.

void KNLocalArticle::setEndOffset ( int  eo)
inline

Definition at line 256 of file knarticle.h.

void KNLocalArticle::setFilterResult ( bool  b = true)
inline

Definition at line 250 of file knarticle.h.

void KNLocalArticle::setForceDefaultCharset ( bool  b)
virtual

Definition at line 286 of file knarticle.cpp.

void KNLocalArticle::setMailed ( bool  b = true)
inline

Definition at line 230 of file knarticle.h.

void KNLocalArticle::setPosted ( bool  b = true)
inline

Definition at line 236 of file knarticle.h.

void KNLocalArticle::setServerId ( int  i)
inline

Definition at line 260 of file knarticle.h.

void KNLocalArticle::setStartOffset ( int  so)
inline

Definition at line 254 of file knarticle.h.

int KNLocalArticle::startOffset ( ) const
inline

Definition at line 253 of file knarticle.h.

articleType KNLocalArticle::type ( ) const
inlinevirtual

Reimplemented from KNArticle.

Definition at line 224 of file knarticle.h.

void KNLocalArticle::updateListItem ( )
virtual

Reimplemented from KNArticle.

Definition at line 245 of file knarticle.cpp.

Member Data Documentation

int KNLocalArticle::e_Offset
protected

Definition at line 268 of file knarticle.h.

int KNLocalArticle::s_erverId
protected

Definition at line 268 of file knarticle.h.

int KNLocalArticle::s_Offset
protected

Definition at line 268 of file knarticle.h.


The documentation for this class was generated from the following files:
  • knarticle.h
  • knarticle.cpp
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

KDE's Doxygen guidelines are available online.

knode

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

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer
  • pimprint

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal