kmail
KMFolderDir Class Reference
KMail list that manages the contents of one directory that may contain folders and/or other directories. More...
#include <kmfolderdir.h>
Inherits KMFolderNode, and KMFolderNodeList.
Inherited by KMFolderRootDir.
Public Member Functions | |
KMFolderDir (KMFolder *owner, KMFolderDir *parent=0, const QString &path=QString::null, KMFolderDirType=KMStandardDir) | |
virtual bool | isDir () const |
void | addDirToParent (const QString &dirName, KMFolder *parentFolder) |
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 | type () 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
void KMFolderDir::addDirToParent | ( | const QString & | dirName, | |
KMFolder * | parentFolder | |||
) |
Adds the given subdirectory of this directory to the associated folder.
Definition at line 167 of file kmfolderdir.cpp.
KMFolder * KMFolderDir::createFolder | ( | const QString & | folderName, | |
bool | sysFldr = false , |
|||
KMFolderType | folderType = KMFolderTypeMbox | |||
) | [virtual] |
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 95 of file kmfolderdir.cpp.
KMFolderNode * KMFolderDir::hasNamedFolder | ( | const QString & | name | ) | [virtual] |
Returns folder with given name or zero if it does not exist.
Definition at line 343 of file kmfolderdir.cpp.
QString KMFolderDir::label | ( | void | ) | const |
KMFolderMgr * KMFolderDir::manager | ( | ) | const [virtual] |
Returns the folder manager that manages this folder.
Definition at line 355 of file kmfolderdir.cpp.
KMFolder* KMFolderDir::owner | ( | ) | const [inline] |
QString KMFolderDir::path | ( | ) | const [virtual] |
QString KMFolderDir::prettyURL | ( | ) | const [virtual] |
bool KMFolderDir::reload | ( | void | ) | [virtual] |
The documentation for this class was generated from the following files: