KIMAP Library
#include <createjob.h>
Inherits KIMAP::Job.
Public Member Functions | |
CreateJob (Session *session) | |
QString | mailBox () const |
void | setMailBox (const QString &mailBox) |
![]() | |
Session * | session () const |
virtual void | start () |
Protected Member Functions | |
virtual void | doStart () |
![]() | |
Job (Session *session) | |
Job (JobPrivate &dd) | |
HandlerResponse | handleErrorReplies (const Message &response) |
Additional Inherited Members | |
![]() | |
enum | HandlerResponse { Handled = 0, NotHandled } |
![]() | |
JobPrivate *const | d_ptr |
Detailed Description
Creates a new mailbox.
This job can only be run when the session is in the authenticated (or selected) state.
This job will fail if the mailbox already exists.
If the server supports ACLs, the user must have the Acl::CreateMailbox permission on the parent mailbox. Note that what is meant by "parent mailbox" depends on the server: . and / are typical hierachy delimiters.
Definition at line 47 of file createjob.h.
Member Function Documentation
QString CreateJob::mailBox | ( | ) | const |
The name of the mailbox that will be created.
Definition at line 65 of file createjob.cpp.
void CreateJob::setMailBox | ( | const QString & | mailBox | ) |
Set the name of the new mailbox.
- Parameters
-
mailBox an (unquoted) identifier that does not correspond to an existing mailbox name
Definition at line 59 of file createjob.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Nov 26 2013 09:02:14 by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.