knode
#include <kngroupmanager.h>
Public Slots | |
void | slotCheckForNewGroups (KNNntpAccount::Ptr a, QDate date) |
void | slotFetchGroupList (KNNntpAccount::Ptr a) |
void | slotLoadGroupList (KNNntpAccount::Ptr a) |
Signals | |
void | groupAdded (KNGroup::Ptr g) |
void | groupRemoved (KNGroup::Ptr g) |
void | groupUpdated (KNGroup::Ptr g) |
void | newListReady (KNGroupListData::Ptr d) |
Protected Member Functions | |
void | processJob (KNJobData *j) |
Protected Attributes | |
KNArticleManager * | a_rticleMgr |
KNGroup::Ptr | c_urrentGroup |
KNGroup::List | mGroupList |
Protected Attributes inherited from KNJobConsumer | |
QList< KNJobData * > | mJobs |
Detailed Description
Group manager.
Definition at line 83 of file kngroupmanager.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 236 of file kngroupmanager.cpp.
KNGroupManager::~KNGroupManager | ( | ) |
Definition at line 243 of file kngroupmanager.cpp.
Member Function Documentation
void KNGroupManager::checkAll | ( | KNNntpAccount::Ptr | a, |
bool | silent = false |
||
) |
Definition at line 573 of file kngroupmanager.cpp.
void KNGroupManager::checkAll | ( | int | id, |
bool | silent = false |
||
) |
Convenient method to call checkAll(KNNntpAccount::Ptr,bool) with the account whose id is id
.
Definition at line 585 of file kngroupmanager.cpp.
void KNGroupManager::checkGroupForNewHeaders | ( | KNGroup::Ptr | g = KNGroup::Ptr() | ) |
Definition at line 506 of file kngroupmanager.cpp.
|
inline |
Definition at line 111 of file kngroupmanager.h.
void KNGroupManager::expireAll | ( | KNCleanUp * | cup | ) |
Definition at line 358 of file kngroupmanager.cpp.
void KNGroupManager::expireAll | ( | KNNntpAccount::Ptr | a | ) |
Definition at line 370 of file kngroupmanager.cpp.
void KNGroupManager::expireGroupNow | ( | KNGroup::Ptr | g = KNGroup::Ptr() | ) |
Definition at line 520 of file kngroupmanager.cpp.
KNGroup::Ptr KNGroupManager::firstGroupOfAccount | ( | const KNServerInfo::Ptr | s | ) |
Returns the first group in the server s
, or null if it is empty.
Definition at line 348 of file kngroupmanager.cpp.
void KNGroupManager::getSubscribed | ( | KNNntpAccount::Ptr | a, |
QStringList & | l | ||
) |
Definition at line 279 of file kngroupmanager.cpp.
KNGroup::Ptr KNGroupManager::group | ( | const QString & | gName, |
const KNServerInfo::Ptr | s | ||
) |
Returns a group named gName
in the server s
, or null if none is found.
Definition at line 338 of file kngroupmanager.cpp.
|
signal |
Emitted when a group is added.
|
signal |
Emitted when a group is removed.
KNGroup::List KNGroupManager::groupsOfAccount | ( | KNNntpAccount::Ptr | a | ) |
Returns the list of (subscribed) groups in the account a
.
Definition at line 288 of file kngroupmanager.cpp.
|
signal |
Emitted when a group is updated.
|
inline |
Definition at line 112 of file kngroupmanager.h.
void KNGroupManager::loadGroups | ( | KNNntpAccount::Ptr | a | ) |
Definition at line 257 of file kngroupmanager.cpp.
bool KNGroupManager::loadHeaders | ( | KNGroup::Ptr | g | ) |
Definition at line 298 of file kngroupmanager.cpp.
|
signal |
|
protectedvirtual |
Reimplemented from KNJobConsumer.
Reimplemented from KNJobConsumer.
Definition at line 592 of file kngroupmanager.cpp.
void KNGroupManager::reorganizeGroup | ( | KNGroup::Ptr | g = KNGroup::Ptr() | ) |
Definition at line 545 of file kngroupmanager.cpp.
void KNGroupManager::setCurrentGroup | ( | KNGroup::Ptr | g | ) |
Definition at line 555 of file kngroupmanager.cpp.
void KNGroupManager::showGroupDialog | ( | KNNntpAccount::Ptr | a, |
QWidget * | parent = 0 |
||
) |
Definition at line 401 of file kngroupmanager.cpp.
void KNGroupManager::showGroupProperties | ( | KNGroup::Ptr | g = KNGroup::Ptr() | ) |
Shows the property dialog of g
or if null, the properties of the currentGroup().
Definition at line 498 of file kngroupmanager.cpp.
|
slot |
check for new groups (created after the given date)
Definition at line 699 of file kngroupmanager.cpp.
|
slot |
fetch group list from server
Definition at line 686 of file kngroupmanager.cpp.
|
slot |
load group list from disk (if this fails: ask user if we should fetch the list)
Definition at line 663 of file kngroupmanager.cpp.
void KNGroupManager::subscribeGroup | ( | const KNGroupInfo * | gi, |
KNNntpAccount::Ptr | a | ||
) |
Definition at line 442 of file kngroupmanager.cpp.
void KNGroupManager::syncGroups | ( | ) |
Definition at line 248 of file kngroupmanager.cpp.
bool KNGroupManager::unloadHeaders | ( | KNGroup::Ptr | g, |
bool | force = true |
||
) |
Definition at line 318 of file kngroupmanager.cpp.
bool KNGroupManager::unsubscribeGroup | ( | KNGroup::Ptr | g = KNGroup::Ptr() | ) |
Definition at line 454 of file kngroupmanager.cpp.
Member Data Documentation
|
protected |
Definition at line 151 of file kngroupmanager.h.
|
protected |
Definition at line 150 of file kngroupmanager.h.
|
protected |
Definition at line 149 of file kngroupmanager.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:37 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.