KIMAP::EnableJob
#include <enablejob.h>
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.
- Since
- 5.16
Definition at line 33 of file enablejob.h.
Constructor & Destructor Documentation
◆ EnableJob()
|
explicit |
Definition at line 30 of file enablejob.cpp.
Member Function Documentation
◆ doStart()
|
overrideprotected |
Definition at line 49 of file enablejob.cpp.
◆ enabledCapabilities()
|
nodiscard |
List of capabilities that were successfully enabled on the server.
Definition at line 43 of file enablejob.cpp.
◆ handleResponse()
|
overrideprotected |
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:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:51:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.