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) |
Public Member Functions inherited from QObject | |
QObject (QObject *parent) | |
QObject (QObject *parent, const char *name) | |
virtual | ~QObject () |
bool | blockSignals (bool block) |
QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
const QObjectList & | children () const |
const char * | className () const |
bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
void | deleteLater () |
void | destroyed (QObject *obj) |
bool | disconnect (const QObject *receiver, const char *method) |
bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
void | dumpObjectInfo () |
void | dumpObjectTree () |
QList< QByteArray > | dynamicPropertyNames () const |
virtual bool | event (QEvent *e) |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
T | findChild (const QString &name) const |
QList< T > | findChildren (const QRegExp ®Exp) const |
QList< T > | findChildren (const QString &name) const |
bool | inherits (const char *className) const |
void | insertChild (QObject *object) |
void | installEventFilter (QObject *filterObj) |
bool | isA (const char *className) const |
bool | isWidgetType () const |
void | killTimer (int id) |
virtual const QMetaObject * | metaObject () const |
void | moveToThread (QThread *targetThread) |
const char * | name () const |
const char * | name (const char *defaultName) const |
QString | objectName () const |
QObject * | parent () const |
QVariant | property (const char *name) const |
void | removeChild (QObject *object) |
void | removeEventFilter (QObject *obj) |
void | setName (const char *name) |
void | setObjectName (const QString &name) |
void | setParent (QObject *parent) |
bool | setProperty (const char *name, const QVariant &value) |
bool | signalsBlocked () const |
int | startTimer (int interval) |
QThread * | thread () const |
Protected Member Functions | |
int | loadCustomFolders () |
Protected Member Functions inherited from QObject | |
bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const char *signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const char *signal) |
int | receivers (const char *signal) const |
QObject * | sender () const |
int | senderSignalIndex () const |
virtual void | timerEvent (QTimerEvent *event) |
Protected Attributes | |
KNArticleManager * | a_rtManager |
KNFolder::Ptr | c_urrentFolder |
int | l_astId |
KNFolder::List | mFolderList |
Additional Inherited Members | |
Static Public Member Functions inherited from QObject | |
bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
Static Protected Member Functions inherited from QObject | |
QByteArray | normalizeSignalSlot (const char *signalSlot) |
Properties inherited from QObject | |
objectName | |
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-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.