knode
#include <knfoldermanager.h>
Signals | |
void | folderActivated (KNFolder::Ptr f) |
void | folderAdded (KNFolder::Ptr f) |
void | folderRemoved (KNFolder::Ptr f) |
Public Member Functions | |
KNFolderManager (KNArticleManager *a) | |
~KNFolderManager () | |
bool | canMoveFolder (KNFolder::Ptr f, KNFolder::Ptr p) |
void | compactAll (KNCleanUp *cup) |
void | compactAll () |
void | compactFolder (KNFolder::Ptr f) |
KNFolder::Ptr | currentFolder () const |
bool | deleteFolder (KNFolder::Ptr f) |
KNFolder::Ptr | drafts () const |
void | emptyFolder (KNFolder::Ptr f) |
void | exportToMBox (KNFolder::Ptr f) |
KNFolder::Ptr | folder (int id) |
KNFolder::List | folders () const |
bool | hasCurrentFolder () const |
void | importFromMBox (KNFolder::Ptr f) |
bool | loadDrafts () |
bool | loadHeaders (KNFolder::Ptr f) |
bool | loadOutbox () |
bool | loadSent () |
bool | moveFolder (KNFolder::Ptr f, KNFolder::Ptr p) |
KNFolder::Ptr | newFolder (KNFolder::Ptr p) |
KNFolder::Ptr | outbox () const |
KNFolder::Ptr | root () const |
KNFolder::Ptr | sent () const |
void | setCurrentFolder (KNFolder::Ptr f) |
void | syncFolders () |
bool | unloadHeaders (KNFolder::Ptr f, bool force=true) |
int | unsentForAccount (int accId) |
Protected Member Functions | |
int | loadCustomFolders () |
Protected Attributes | |
KNArticleManager * | a_rtManager |
KNFolder::Ptr | c_urrentFolder |
int | l_astId |
KNFolder::List | mFolderList |
Detailed Description
Folder manager.
Definition at line 28 of file knfoldermanager.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 35 of file knfoldermanager.cpp.
KNFolderManager::~KNFolderManager | ( | ) |
Definition at line 71 of file knfoldermanager.cpp.
Member Function Documentation
bool KNFolderManager::canMoveFolder | ( | KNFolder::Ptr | f, |
KNFolder::Ptr | p | ||
) |
Returns true if the folder f
can be moved under a new parent p
.
Definition at line 199 of file knfoldermanager.cpp.
void KNFolderManager::compactAll | ( | KNCleanUp * | cup | ) |
Definition at line 274 of file knfoldermanager.cpp.
void KNFolderManager::compactAll | ( | ) |
Definition at line 282 of file knfoldermanager.cpp.
void KNFolderManager::compactFolder | ( | KNFolder::Ptr | f | ) |
Definition at line 264 of file knfoldermanager.cpp.
|
inline |
Definition at line 38 of file knfoldermanager.h.
bool KNFolderManager::deleteFolder | ( | KNFolder::Ptr | f | ) |
Definition at line 150 of file knfoldermanager.cpp.
|
inline |
Returns the drafts folder.
Definition at line 46 of file knfoldermanager.h.
void KNFolderManager::emptyFolder | ( | KNFolder::Ptr | f | ) |
Definition at line 190 of file knfoldermanager.cpp.
void KNFolderManager::exportToMBox | ( | KNFolder::Ptr | f | ) |
Definition at line 393 of file knfoldermanager.cpp.
KNFolder::Ptr KNFolderManager::folder | ( | int | id | ) |
Definition at line 130 of file knfoldermanager.cpp.
|
signal |
|
signal |
Emitted when a folder is added.
|
signal |
Emitted when a folder is removed.
|
inline |
Definition at line 41 of file knfoldermanager.h.
|
inline |
Definition at line 39 of file knfoldermanager.h.
void KNFolderManager::importFromMBox | ( | KNFolder::Ptr | f | ) |
Definition at line 293 of file knfoldermanager.cpp.
|
protected |
Definition at line 456 of file knfoldermanager.cpp.
|
inline |
Definition at line 55 of file knfoldermanager.h.
bool KNFolderManager::loadHeaders | ( | KNFolder::Ptr | f | ) |
Definition at line 93 of file knfoldermanager.cpp.
|
inline |
Definition at line 56 of file knfoldermanager.h.
|
inline |
Definition at line 57 of file knfoldermanager.h.
bool KNFolderManager::moveFolder | ( | KNFolder::Ptr | f, |
KNFolder::Ptr | p | ||
) |
Move the folder f
to a new parent p
.
- Returns
- false if the move is not possible.
Definition at line 223 of file knfoldermanager.cpp.
KNFolder::Ptr KNFolderManager::newFolder | ( | KNFolder::Ptr | p | ) |
Definition at line 139 of file knfoldermanager.cpp.
|
inline |
Returns the outbox folder.
Definition at line 48 of file knfoldermanager.h.
|
inline |
Returns the root folder.
Definition at line 44 of file knfoldermanager.h.
|
inline |
Returns the sent folder.
Definition at line 50 of file knfoldermanager.h.
void KNFolderManager::setCurrentFolder | ( | KNFolder::Ptr | f | ) |
Definition at line 77 of file knfoldermanager.cpp.
void KNFolderManager::syncFolders | ( | ) |
Definition at line 439 of file knfoldermanager.cpp.
bool KNFolderManager::unloadHeaders | ( | KNFolder::Ptr | f, |
bool | force = true |
||
) |
Definition at line 113 of file knfoldermanager.cpp.
int KNFolderManager::unsentForAccount | ( | int | accId | ) |
Definition at line 248 of file knfoldermanager.cpp.
Member Data Documentation
|
protected |
Definition at line 108 of file knfoldermanager.h.
|
protected |
Definition at line 105 of file knfoldermanager.h.
|
protected |
Definition at line 107 of file knfoldermanager.h.
|
protected |
Definition at line 106 of file knfoldermanager.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.