knode
#include <kngroup.h>
Classes | |
class | dynDataVer0 |
class | dynDataVer1 |
Public Types | |
typedef QList< KNGroup::Ptr > | List |
typedef boost::shared_ptr < KNGroup > | Ptr |
enum | Status { unknown =0, readOnly =1, postingAllowed =2, moderated =3 } |
Public Types inherited from KNArticleCollection | |
typedef QList < KNArticleCollection::Ptr > | List |
typedef boost::shared_ptr < KNArticleCollection > | Ptr |
Public Types inherited from KNCollection | |
enum | collectionType { CTnntpAccount, CTgroup, CTfolder, CTcategory, CTvirtualGroup } |
typedef boost::shared_ptr < KNCollection > | Ptr |
Public Types inherited from KNJobItem | |
typedef boost::shared_ptr < KNJobItem > | Ptr |
Protected Member Functions | |
void | buildThreads (int cnt, KNJobData *parent=0) |
KNRemoteArticle::Ptr | findReference (KNRemoteArticle::Ptr a) |
virtual KNCollection::Ptr | selfPtr () |
KNGroup::Ptr | thisGroupPtr () |
Protected Member Functions inherited from KNode::SettingsContainerInterface | |
SettingsContainerInterface () | |
Protected Attributes | |
QStringList | c_rosspostIDBuffer |
QByteArray | d_efaultChSet |
QString | d_escription |
int | d_ynDataFormat |
int | f_irstNew |
int | f_irstNr |
QString | g_roupname |
int | i_gnoreCount |
int | l_astFetchCount |
int | l_astNr |
bool | l_ocked |
int | m_axFetch |
KNode::Cleanup * | mCleanupConf |
int | mIdentityUoid |
QList< QByteArray > | mOptionalHeaders |
int | n_ewCount |
int | r_eadCount |
Status | s_tatus |
bool | u_seCharset |
Protected Attributes inherited from KNCollection | |
int | c_ount |
KNCollectionViewItem * | l_istItem |
QString | n_ame |
KNCollection::Ptr | p_arent |
Detailed Description
Representation of a news group.
This class contains:
- Static information about a news group (eg. the name and account)
- Dynamic information about a news group (eg. article serial numbers)
- Group specific settings (eg. identities or cleanup settings)
- Load and store methods for the header list of this group
Member Typedef Documentation
typedef boost::shared_ptr<KNGroup> KNGroup::Ptr |
Member Enumeration Documentation
enum KNGroup::Status |
Constructor & Destructor Documentation
|
explicit |
Definition at line 46 of file kngroup.cpp.
KNGroup::~KNGroup | ( | ) |
Definition at line 56 of file kngroup.cpp.
Member Function Documentation
KNNntpAccount::Ptr KNGroup::account | ( | ) |
Returns the account this group belongs to.
Definition at line 161 of file kngroup.cpp.
KNode::Cleanup * KNGroup::activeCleanupConfig | ( | ) |
Returns the active cleanup configuration of this group, ie.
the "lowest" available cleanup configuration.
Definition at line 1119 of file kngroup.cpp.
void KNGroup::appendXPostID | ( | const QString & | id | ) |
mark articles with this id as read when we later load the headers / fetch new articles
Definition at line 670 of file kngroup.cpp.
|
inline |
|
protected |
Definition at line 697 of file kngroup.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
Returns the first message that appears in the References header of a
and which exists in this group.
Definition at line 888 of file kngroup.cpp.
|
inline |
|
virtual |
Returns the identity configured for this group.
It is the null identity if there is none.
Implements KNode::SettingsContainerInterface.
Definition at line 169 of file kngroup.cpp.
void KNGroup::insortNewHeaders | ( | const KIO::UDSEntryList & | list, |
KNJobData * | job = 0 |
||
) |
Insert headers of new articles into this group, and then sort.
Definition at line 390 of file kngroup.cpp.
|
inlinevirtual |
|
inline |
bool KNGroup::loadHdrs | ( | ) |
Load the stored headers from disk.
Definition at line 178 of file kngroup.cpp.
|
inline |
|
virtual |
Returns the collection name.
Reimplemented from KNCollection.
Definition at line 68 of file kngroup.cpp.
|
virtual |
|
virtual |
Reimplemented from KNJobItem.
Definition at line 1061 of file kngroup.cpp.
void KNGroup::processXPostBuffer | ( | bool | deleteAfterwards | ) |
Definition at line 676 of file kngroup.cpp.
|
virtual |
Load the properties/settings of this collection.
Implements KNCollection.
Definition at line 90 of file kngroup.cpp.
void KNGroup::reorganize | ( | ) |
Definition at line 965 of file kngroup.cpp.
void KNGroup::saveDynamicData | ( | int | cnt, |
bool | ovr = false |
||
) |
Definition at line 594 of file kngroup.cpp.
int KNGroup::saveStaticData | ( | int | cnt, |
bool | ovr = false |
||
) |
Definition at line 523 of file kngroup.cpp.
void KNGroup::scoreArticles | ( | bool | onlynew = true | ) |
Definition at line 909 of file kngroup.cpp.
|
inlineprotectedvirtual |
Reimplemented from KNArticleCollection::selfPtr().
Implements KNCollection.
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Sets the identity for this group.
- Parameters
-
i The identity or a null Identity to unset it.
Implements KNode::SettingsContainerInterface.
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
void KNGroup::showProperties | ( | ) |
Shows the group properties dialog.
- See also
- KNGroupPropDlg
Definition at line 1030 of file kngroup.cpp.
int KNGroup::statThrWithNew | ( | ) |
Definition at line 1044 of file kngroup.cpp.
int KNGroup::statThrWithUnread | ( | ) |
Definition at line 1053 of file kngroup.cpp.
|
inline |
void KNGroup::syncDynamicData | ( | ) |
Definition at line 626 of file kngroup.cpp.
|
protected |
Returns a shared pointer pointing to this group.
Definition at line 1126 of file kngroup.cpp.
|
inlinevirtual |
bool KNGroup::unloadHdrs | ( | bool | force = true | ) |
Definition at line 367 of file kngroup.cpp.
|
virtual |
void KNGroup::updateThreadInfo | ( | ) |
article handling
Definition at line 988 of file kngroup.cpp.
|
virtual |
Save the configuration to disk.
Implements KNode::SettingsContainerInterface.
Definition at line 124 of file kngroup.cpp.
Member Data Documentation
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
The documentation for this class was generated from the following files:
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.