knode
KNGroup Class Reference
#include <kngroup.h>
List of all members.
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
Definition at line 42 of file kngroup.h.
Member Typedef Documentation
List of groups.
Definition at line 52 of file kngroup.h.
Member Enumeration Documentation
The posting rights status of this group.
- Enumerator:
-
| unknown |
|
| readOnly |
|
| postingAllowed |
|
| moderated |
|
Definition at line 46 of file kngroup.h.
Constructor & Destructor Documentation
Member Function Documentation
Returns the account this group belongs to.
Definition at line 171 of file kngroup.cpp.
Returns the active cleanup configuration of this group, ie.
the "lowest" available cleanup configuration.
Definition at line 1133 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 676 of file kngroup.cpp.
| void KNGroup::buildThreads |
( |
int |
cnt, |
|
|
KNProtocolClient * |
client = 0 | |
|
) |
| | [protected] |
Returns the cleanup configuration of this group (might be empty).
Definition at line 174 of file kngroup.h.
| void KNGroup::decNewCount |
( |
int |
i = 1 |
) |
[inline] |
| void KNGroup::decReadCount |
( |
int |
i = 1 |
) |
[inline] |
| const QByteArray KNGroup::defaultCharset |
( |
|
) |
[inline] |
Returns the default charset for this group.
Definition at line 145 of file kngroup.h.
| QString KNGroup::description |
( |
|
) |
const [inline] |
Returns the group description.
Definition at line 71 of file kngroup.h.
| int KNGroup::firstNewIndex |
( |
|
) |
const [inline] |
| int KNGroup::firstNr |
( |
|
) |
const [inline] |
Returns the smallest available article serial number in this group.
Definition at line 94 of file kngroup.h.
| const QString& KNGroup::groupname |
( |
|
) |
[inline] |
| bool KNGroup::hasName |
( |
|
) |
const [inline] |
Returns the identity configured for this group (might be empty).
Definition at line 156 of file kngroup.h.
| void KNGroup::incNewCount |
( |
int |
i = 1 |
) |
[inline] |
| void KNGroup::incReadCount |
( |
int |
i = 1 |
) |
[inline] |
| void KNGroup::insortNewHeaders |
( |
const KIO::UDSEntryList & |
list, |
|
|
KNProtocolClient * |
client = 0 | |
|
) |
| | |
| bool KNGroup::isLocked |
( |
|
) |
[inline, virtual] |
| int KNGroup::lastFetchCount |
( |
|
) |
const [inline] |
| int KNGroup::lastNr |
( |
|
) |
const [inline] |
Returns the largest used article serial number in this group.
Definition at line 100 of file kngroup.h.
| bool KNGroup::loadHdrs |
( |
|
) |
|
Load the stored headers from disk.
Definition at line 180 of file kngroup.cpp.
| int KNGroup::maxFetch |
( |
|
) |
const [inline] |
Returns the maximal number of articles to download from the server.
Definition at line 106 of file kngroup.h.
| const QString & KNGroup::name |
( |
|
) |
[virtual] |
| int KNGroup::newCount |
( |
|
) |
const [inline] |
count + numbers
Definition at line 78 of file kngroup.h.
| QString KNGroup::path |
( |
|
) |
[virtual] |
| QString KNGroup::prepareForExecution |
( |
|
) |
[virtual] |
| void KNGroup::processXPostBuffer |
( |
bool |
deleteAfterwards |
) |
|
| int KNGroup::readCount |
( |
|
) |
const [inline] |
| bool KNGroup::readInfo |
( |
const QString & |
confPath |
) |
[virtual] |
| void KNGroup::reorganize |
( |
|
) |
|
| void KNGroup::saveDynamicData |
( |
int |
cnt, |
|
|
bool |
ovr = false | |
|
) |
| | |
| void KNGroup::saveInfo |
( |
|
) |
[virtual] |
| int KNGroup::saveStaticData |
( |
int |
cnt, |
|
|
bool |
ovr = false | |
|
) |
| | |
| void KNGroup::scoreArticles |
( |
bool |
onlynew = true |
) |
|
| void KNGroup::setDefaultCharset |
( |
const QByteArray & |
s |
) |
[inline] |
Sets the default charset for this group.
- Parameters:
-
| s | The new default charset. |
Definition at line 149 of file kngroup.h.
| void KNGroup::setDescription |
( |
const QString & |
s |
) |
[inline] |
Sets the group description.
- Parameters:
-
Definition at line 75 of file kngroup.h.
| void KNGroup::setFirstNewIndex |
( |
int |
i |
) |
[inline] |
| void KNGroup::setFirstNr |
( |
int |
i |
) |
[inline] |
Sets the smallest available serial number.
- Parameters:
-
Definition at line 98 of file kngroup.h.
| void KNGroup::setGroupname |
( |
const QString & |
s |
) |
[inline] |
Sets the identity for this group.
- Parameters:
-
Definition at line 160 of file kngroup.h.
| void KNGroup::setLastFetchCount |
( |
int |
i |
) |
[inline] |
| void KNGroup::setLastNr |
( |
int |
i |
) |
[inline] |
Sets the largest used serial number.
- Parameters:
-
Definition at line 104 of file kngroup.h.
| void KNGroup::setLocked |
( |
bool |
l |
) |
[inline, virtual] |
| void KNGroup::setMaxFetch |
( |
int |
i |
) |
[inline] |
Sets the maximal number of articles to download from the server.
- Parameters:
-
| i | The maximal number of articles to download. |
Definition at line 110 of file kngroup.h.
| void KNGroup::setNewCount |
( |
int |
i |
) |
[inline] |
| void KNGroup::setReadCount |
( |
int |
i |
) |
[inline] |
| void KNGroup::setStatus |
( |
Status |
s |
) |
[inline] |
Sets the posting rights for this group.
- Parameters:
-
| s | The new posting rights. |
Definition at line 167 of file kngroup.h.
| void KNGroup::setUseCharset |
( |
bool |
b |
) |
[inline] |
| void KNGroup::showProperties |
( |
|
) |
|
| int KNGroup::statThrWithNew |
( |
|
) |
|
| int KNGroup::statThrWithUnread |
( |
|
) |
|
| Status KNGroup::status |
( |
|
) |
const [inline] |
Returns the posting rights of this group.
Definition at line 163 of file kngroup.h.
| void KNGroup::syncDynamicData |
( |
|
) |
|
| bool KNGroup::unloadHdrs |
( |
bool |
force = true |
) |
|
| void KNGroup::updateListItem |
( |
|
) |
[virtual] |
| void KNGroup::updateThreadInfo |
( |
|
) |
|
| bool KNGroup::useCharset |
( |
|
) |
[inline] |
Member Data Documentation
The default charset of this group.
Definition at line 196 of file kngroup.h.
Optional headers provided by the XOVER command.
These headers will be saved within the static data.
Definition at line 210 of file kngroup.h.
The documentation for this class was generated from the following files: