Search for usage in LXR

#include <enablejob.h>

Inherits KIMAP::Job.

Public Member Functions

 EnableJob (Session *session)
QStringList enabledCapabilities () const
void setCapabilities (const QStringList &capabilities)

Protected Member Functions

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

Detailed Description

Job to enable additional IMAP capabilities.

Requires server to implement the IMAP ENABLE Extension (RFC5161). The new capabilities to enable will be specified by the user. The user is responsible for making sure the capabilities are supported by the server.

The example usecase for this job is to enable support for the QRESYNC extension (RFC5162) on the server.


Definition at line 33 of file enablejob.h.

Constructor & Destructor Documentation

◆ EnableJob()

EnableJob::EnableJob ( Session * session)

Definition at line 30 of file enablejob.cpp.

Member Function Documentation

◆ doStart()

void EnableJob::doStart ( )

Definition at line 49 of file enablejob.cpp.

◆ enabledCapabilities()

QStringList EnableJob::enabledCapabilities ( ) const

List of capabilities that were successfully enabled on the server.

Definition at line 43 of file enablejob.cpp.

◆ handleResponse()

void EnableJob::handleResponse ( const Response & response)

Definition at line 55 of file enablejob.cpp.

◆ setCapabilities()

void EnableJob::setCapabilities ( const QStringList & capabilities)

List of server capabilities to enable.

Definition at line 37 of file enablejob.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 Fri Jul 19 2024 11:56:18 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.