KIMAP2::CapabilitiesJob Class Reference

#include <capabilitiesjob.h>

Inherits KIMAP2::Job.


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.

Member Function Documentation

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.

void KIMAP2::CapabilitiesJob::capabilitiesReceived ( const QStringList capabilities)

Notifies listeners that the capabilities have been fetched.

capabilitiesThe capabilities the server claims to support.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Aug 5 2020 23:05:42 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.