KIMAP2::CapabilitiesJob
#include <capabilitiesjob.h>
Signals | |
void | capabilitiesReceived (const QStringList &capabilities) |
Public Member Functions | |
CapabilitiesJob (Session *session) | |
QStringList | capabilities () const |
Protected Member Functions | |
void | doStart () override |
void | handleResponse (const Message &response) override |
Detailed Description
Checks server capabilities.
This job can be run in any open session.
This simply asks the server what capabilities it supports (using the CAPABILITY command) and returns the list provided by the server. The list may, therefore, be inaccurate: the server may claim to support something it does not implement properly, or it may omit a feature that it does, in reality, support.
Definition at line 46 of file capabilitiesjob.h.
Constructor & Destructor Documentation
◆ CapabilitiesJob()
CapabilitiesJob::CapabilitiesJob | ( | Session * | session | ) |
Definition at line 40 of file capabilitiesjob.cpp.
◆ ~CapabilitiesJob()
|
virtual |
Definition at line 45 of file capabilitiesjob.cpp.
Member Function Documentation
◆ capabilities()
QStringList CapabilitiesJob::capabilities | ( | ) | const |
The capabilities the server claims to support.
This will return an empty list until the job has completed.
Definition at line 49 of file capabilitiesjob.cpp.
◆ capabilitiesReceived
|
signal |
Notifies listeners that the capabilities have been fetched.
- Parameters
-
capabilities The capabilities the server claims to support.
◆ doStart()
|
overrideprotected |
Definition at line 55 of file capabilitiesjob.cpp.
◆ handleResponse()
|
overrideprotected |
Definition at line 61 of file capabilitiesjob.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.