KIMAP::ExpungeJob

#include <expungejob.h>

Inherits KIMAP::Job.

Public Member Functions

 ExpungeJob (Session *session)
 
quint64 newHighestModSeq () const
 
KIMAP::ImapSet vanishedMessages () const
 

Protected Member Functions

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

Detailed Description

Expunges the deleted messages in the selected mailbox.

This permanently removes any messages that have the flag set in the selected mailbox.

This job can only be run when the session is in the selected state.

If the server supports ACLs, the user will need the Acl::Expunge right on the mailbox.

Definition at line 34 of file expungejob.h.

Member Function Documentation

quint64 ExpungeJob::newHighestModSeq ( ) const

Returns new highest modification sequence number.

This feature is only available when QRESYNC capability (RFC5162) is supported by the server and have been enabled on the current session.

See also
KIMAP::EnableJob
Since
5.16

Definition at line 44 of file expungejob.cpp.

KIMAP::ImapSet ExpungeJob::vanishedMessages ( ) const

Returns UIDs of messages that have been expunged.

This feature is only available when QRESYNC capability (RFC5162) is supported by the server and have been enabled on the current session.

See also
KIMAP::EnableJob
Since
5.16

Definition at line 38 of file expungejob.cpp.


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 Fri Nov 27 2020 23:14:01 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.