KManageSieve::Response

Search for usage in LXR

KManageSieve::Response Class Reference

#include <response.h>

Public Types

enum  Result { Ok , No , Bye , Other }
 
enum  Type { None , KeyValuePair , Action , Quantity }
 

Public Member Functions

QByteArray action () const
 
void clear ()
 
QByteArray extra () const
 
QByteArray key () const
 
Result operationResult () const
 
bool operationSuccessful () const
 
bool parseResponse (const QByteArray &line)
 
uint quantity () const
 
Type type () const
 
QByteArray value () const
 

Detailed Description

A response from a managesieve server.

Definition at line 17 of file response.h.

Member Enumeration Documentation

◆ Result

enum KManageSieve::Response::Result

Definition at line 36 of file response.h.

◆ Type

enum KManageSieve::Response::Type

Definition at line 20 of file response.h.

Member Function Documentation

◆ action()

QByteArray KManageSieve::Response::action ( ) const
nodiscard

Definition at line 20 of file response.cpp.

◆ clear()

void KManageSieve::Response::clear ( )

Definition at line 11 of file response.cpp.

◆ extra()

QByteArray KManageSieve::Response::extra ( ) const
nodiscard

Definition at line 25 of file response.cpp.

◆ key()

QByteArray KManageSieve::Response::key ( ) const
nodiscard

Definition at line 30 of file response.cpp.

◆ operationResult()

KManageSieve::Response::Result KManageSieve::Response::operationResult ( ) const
nodiscard

Definition at line 123 of file response.cpp.

◆ operationSuccessful()

bool KManageSieve::Response::operationSuccessful ( ) const
nodiscard

Definition at line 138 of file response.cpp.

◆ parseResponse()

bool KManageSieve::Response::parseResponse ( const QByteArray & line)
nodiscard

Definition at line 62 of file response.cpp.

◆ quantity()

uint KManageSieve::Response::quantity ( ) const
nodiscard

Definition at line 40 of file response.cpp.

◆ type()

KManageSieve::Response::Type KManageSieve::Response::type ( ) const
nodiscard

Definition at line 45 of file response.cpp.

◆ value()

QByteArray KManageSieve::Response::value ( ) const
nodiscard

Definition at line 35 of file response.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 Mon Nov 18 2024 12:14:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.