KIMAP Library
KIMAP::DeleteJob Class Reference
Delete a mailbox. More...
#include <deletejob.h>
Inherits KIMAP::Job.
Public Member Functions | |
DeleteJob (Session *session) | |
QString | mailBox () const |
void | setMailBox (const QString &mailBox) |
Protected Member Functions | |
virtual void | doStart () |
Detailed Description
Delete a mailbox.
Note that some servers will refuse to delete a mailbox unless it is empty (ie: all mails have had their flag set, and then the mailbox has been expunged).
This job can only be run when the session is in the authenticated (or selected) state.
If the server supports ACLs, you will need the Acl::DeleteMailbox right on the mailbox.
Definition at line 46 of file deletejob.h.
Member Function Documentation
QString DeleteJob::mailBox | ( | ) | const |
The mailbox that will be deleted.
Definition at line 65 of file deletejob.cpp.
void DeleteJob::setMailBox | ( | const QString & | mailBox | ) |
Set the mailbox to delete.
Definition at line 59 of file deletejob.cpp.
The documentation for this class was generated from the following files: