knode
knfolder.h
Go to the documentation of this file.
46 KNFolder( int id, const QString &name, const QString &prefix, KNFolder::Ptr parent = KNFolder::Ptr() );
75 { return boost::static_pointer_cast<KNLocalArticle>( KNArticleCollection::byMessageId( mId ) ); }
boost::shared_ptr< KNLocalArticle > Ptr
Shared pointer to a KNLocalArticle. To be used instead of raw KNLocalArticle*.
Definition: knarticle.h:214
KNLocalArticle::Ptr byMessageId(const QByteArray &mId)
Definition: knfolder.h:74
bool loadArticle(KNLocalArticle::Ptr a)
Load the full content of an article.
Definition: knfolder.cpp:314
KNArticle::Ptr at(int i)
Returns the article at index i in this collection, or an empty KNArticle::Ptr if it is not found...
Definition: knarticlecollection.h:123
This class encapsulates an article, that is stored locally in an MBOX-file.
Definition: knarticle.h:210
Definition: knfolder.h:108
KNArticle::Ptr byId(int id)
Returns the article whose id is id, or an empty KNArticle::Ptr if it is not found.
Definition: knarticlecollection.cpp:214
boost::shared_ptr< KNCollection > Ptr
Shared pointer to a KNCollection.
Definition: kncollection.h:40
void removeArticles(KNLocalArticle::List &l, bool del=true)
Definition: knfolder.cpp:449
Definition: kncollection.h:34
Abstract base class for article collections, ie.
Definition: knarticlecollection.h:76
KNArticle::Ptr byMessageId(const QByteArray &mid)
Returns the article whose message-id is mid, or an empty KNArticle::Ptr if it is not found...
Definition: knarticlecollection.cpp:220
void updateListItem()
Updates the listview item after the collection has changed.
Definition: knfolder.cpp:90
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.