knode
kngroup.h
Go to the documentation of this file.
41 class KNGroup : public KNArticleCollection , public KNJobItem, public KNode::SettingsContainerInterface
125 { return boost::static_pointer_cast<KNRemoteArticle>( KNArticleCollection::byMessageId( mId ) ); }
const QByteArray defaultCharset()
Returns the default charset for this group.
Definition: kngroup.h:152
QList< QByteArray > mOptionalHeaders
Optional headers provided by the XOVER command.
Definition: kngroup.h:227
KNode::Cleanup * cleanupConfig() const
Returns the cleanup configuration of this group (might be empty).
Definition: kngroup.h:187
void processXPostBuffer(bool deleteAfterwards)
Definition: kngroup.cpp:676
void setDefaultCharset(const QByteArray &s)
Sets the default charset for this group.
Definition: kngroup.h:156
Definition: kngroup.h:50
int firstNr() const
Returns the smallest available article serial number in this group.
Definition: kngroup.h:98
bool isEmpty() const
virtual void setIdentity(const KPIMIdentities::Identity &i)
Sets the identity for this group.
Definition: kngroup.h:171
Expirery/cleaup settings (globally or per account/group/folder).
Definition: knconfig.h:132
boost::shared_ptr< KNNntpAccount > Ptr
Shared pointer to a KNNntpAccount.
Definition: knnntpaccount.h:62
Interface for object (global settings, account and group) that contains common settings (like identit...
Definition: settings_container_interface.h:40
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
Definition: kngroup.h:50
KNRemoteArticle::Ptr findReference(KNRemoteArticle::Ptr a)
Returns the first message that appears in the References header of a and which exists in this group...
Definition: kngroup.cpp:888
void appendXPostID(const QString &id)
mark articles with this id as read when we later load the headers / fetch new articles ...
Definition: kngroup.cpp:670
Definition: kngroup.h:50
bool isEmpty() const
Definition: kngroup.h:50
void insortNewHeaders(const KIO::UDSEntryList &list, KNJobData *job=0)
Insert headers of new articles into this group, and then sort.
Definition: kngroup.cpp:390
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
Definition: kncollection.h:35
KNode::Cleanup * activeCleanupConfig()
Returns the active cleanup configuration of this group, ie.
Definition: kngroup.cpp:1119
boost::shared_ptr< KNRemoteArticle > Ptr
Shared pointer to a KNRemoteArticle. To be used instead of raw KNRemoteArticle*.
Definition: knarticle.h:109
boost::shared_ptr< KNCollection > Ptr
Shared pointer to a KNCollection.
Definition: kncollection.h:42
Definition: kngroup.h:238
KNRemoteArticle represents an article, whos body has to be retrieved from a remote host or from the l...
Definition: knarticle.h:105
KNGroup::Ptr thisGroupPtr()
Returns a shared pointer pointing to this group.
Definition: kngroup.cpp:1126
int lastNr() const
Returns the largest used article serial number in this group.
Definition: kngroup.h:104
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 setMaxFetch(int i)
Sets the maximal number of articles to download from the server.
Definition: kngroup.h:114
bool readInfo(const QString &confPath)
Load the properties/settings of this collection.
Definition: kngroup.cpp:90
virtual const KPIMIdentities::Identity & identity() const
Returns the identity configured for this group.
Definition: kngroup.cpp:169
virtual KNCollection::Ptr selfPtr()
Reimplemented from KNArticleCollection::selfPtr().
Definition: kngroup.h:274
Definition: kngroup.h:252
KNRemoteArticle::Ptr byMessageId(const QByteArray &mId)
Definition: kngroup.h:124
int maxFetch() const
Returns the maximal number of articles to download from the server.
Definition: kngroup.h:110
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
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.