KMFolderDir Class Reference
KMail list that manages the contents of one directory that may contain folders and/or other directories. More...
#include <kmfolderdir.h>
Inheritance diagram for KMFolderDir:


Public Member Functions | |
KMFolderDir (KMFolder *owner, KMFolderDir *parent=0, const QString &path=QString::null, KMFolderDirType=KMStandardDir) | |
virtual bool | isDir () const |
virtual bool | reload () |
virtual QString | path () const |
QString | label () const |
virtual QString | prettyURL () const |
virtual KMFolder * | createFolder (const QString &folderName, bool sysFldr=FALSE, KMFolderType folderType=KMFolderTypeMbox) |
virtual KMFolderNode * | hasNamedFolder (const QString &name) |
virtual KMFolderMgr * | manager () const |
KMFolder * | owner () const |
virtual KMFolderDirType | folderDirType () const |
Protected Attributes | |
KMFolder * | mOwner |
KMFolderDirType | mDirType |
Detailed Description
KMail list that manages the contents of one directory that may contain folders and/or other directories.
Definition at line 15 of file kmfolderdir.h.
Member Function Documentation
|
Read contents of directory.
Definition at line 176 of file kmfolderdir.cpp. References KMFolder::fileName(), path(), reload(), and KMFolder::setChild(). Referenced by KMFolder::createChildFolder(), and reload(). |
|
Return full pathname of this directory.
Definition at line 139 of file kmfolderdir.cpp. Referenced by reload(), and KMail::FolderDiaGeneralTab::save(). |
|
Returns the label of the folder for visualization.
Definition at line 156 of file kmfolderdir.cpp. References KMFolder::label(). Referenced by prettyURL(). |
|
URL of the node for visualization purposes.
Definition at line 166 of file kmfolderdir.cpp. References label(). |
|
Create a mail folder in this directory with given name. If sysFldr==TRUE the folder is marked as a (KMail) system folder. Returns Folder on success. Definition at line 96 of file kmfolderdir.cpp. References KMFolder::create(), and KMFolder::setSystemFolder(). |
|
Returns folder with given name or zero if it does not exist.
Definition at line 302 of file kmfolderdir.cpp. Referenced by KMail::FolderDiaGeneralTab::save(). |
|
Returns the folder manager that manages this folder.
Definition at line 314 of file kmfolderdir.cpp. Referenced by KMFolder::KMFolder(). |
|
Returns the folder whose children we are holding.
Definition at line 53 of file kmfolderdir.h. Referenced by KMail::CopyFolderJob::createTargetDir(). |
The documentation for this class was generated from the following files: