KIMAP2::CreateJob

Search for usage in LXR

#include <createjob.h>

Inherits KIMAP2::Job.

Public Member Functions

 CreateJob (Session *session)
 
QString mailBox () const
 
void setMailBox (const QString &mailBox)
 

Protected Member Functions

void doStart () override
 
void handleResponse (const Message &response) override
 

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 48 of file createjob.h.

Constructor & Destructor Documentation

◆ CreateJob()

CreateJob::CreateJob ( Session * session)
explicit

Definition at line 41 of file createjob.cpp.

◆ ~CreateJob()

CreateJob::~CreateJob ( )
virtual

Definition at line 46 of file createjob.cpp.

Member Function Documentation

◆ doStart()

void CreateJob::doStart ( )
overrideprotected

Definition at line 50 of file createjob.cpp.

◆ handleResponse()

void CreateJob::handleResponse ( const Message & response)
overrideprotected

Definition at line 56 of file createjob.cpp.

◆ mailBox()

QString CreateJob::mailBox ( ) const

The name of the mailbox that will be created.

Definition at line 89 of file createjob.cpp.

◆ setMailBox()

void CreateJob::setMailBox ( const QString & mailBox)

Set the name of the new mailbox.

Parameters
mailBoxan (unquoted) identifier that does not correspond to an existing mailbox name

Definition at line 83 of file createjob.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:21:18 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.