KSieveCore::SieveImapAccountSettings

Search for usage in LXR

KSieveCore::SieveImapAccountSettings Class Reference

#include <sieveimapaccountsettings.h>

Public Types

enum  AuthenticationMode {
  ClearText = 0 , Login , Plain , CramMD5 ,
  DigestMD5 , NTLM , GSSAPI , Anonymous ,
  XOAuth2
}
 
enum  EncryptionMode { Unencrypted = 0 , SSLorTLS , STARTTLS }
 

Public Member Functions

AuthenticationMode authenticationType () const
 
SieveImapAccountSettings::EncryptionMode encryptionMode () const
 
QString identifier () const
 
bool isValid () const
 
bool operator== (const SieveImapAccountSettings &other) const
 
QString password () const
 
int port () const
 
QString serverName () const
 
void setAuthenticationType (KSieveCore::SieveImapAccountSettings::AuthenticationMode type)
 
void setEncryptionMode (EncryptionMode encryptionMode)
 
void setPassword (const QString &password)
 
void setPort (int port)
 
void setServerName (const QString &serverName)
 
void setUserName (const QString &userName)
 
QString userName () const
 

Detailed Description

The SieveImapAccountSettings class.

Author
Laurent Montel monte.nosp@m.l@kd.nosp@m.e.org

Definition at line 17 of file sieveimapaccountsettings.h.

Member Enumeration Documentation

◆ AuthenticationMode

enum KSieveCore::SieveImapAccountSettings::AuthenticationMode

Definition at line 30 of file sieveimapaccountsettings.h.

◆ EncryptionMode

Enumerator
SSLorTLS 

Use SSL/TLS encryption, KIMAP will automatically negotiate the best supported encryption protocol.

STARTTLS 

Use STARTTLS to upgrade an initially plaintext connection to encrypted connection. KIMAP will automatically negotiate the best supported encryption protocol.

Definition at line 21 of file sieveimapaccountsettings.h.

Member Function Documentation

◆ authenticationType()

KSieveCore::SieveImapAccountSettings::AuthenticationMode SieveImapAccountSettings::authenticationType ( ) const
nodiscard

Definition at line 63 of file sieveimapaccountsettings.cpp.

◆ encryptionMode()

SieveImapAccountSettings::EncryptionMode SieveImapAccountSettings::encryptionMode ( ) const
nodiscard

Definition at line 79 of file sieveimapaccountsettings.cpp.

◆ identifier()

QString SieveImapAccountSettings::identifier ( ) const
nodiscard

Definition at line 13 of file sieveimapaccountsettings.cpp.

◆ isValid()

bool SieveImapAccountSettings::isValid ( ) const
nodiscard

Definition at line 74 of file sieveimapaccountsettings.cpp.

◆ operator==()

bool SieveImapAccountSettings::operator== ( const SieveImapAccountSettings & other) const
nodiscard

Definition at line 68 of file sieveimapaccountsettings.cpp.

◆ password()

QString SieveImapAccountSettings::password ( ) const
nodiscard

Definition at line 53 of file sieveimapaccountsettings.cpp.

◆ port()

int SieveImapAccountSettings::port ( ) const
nodiscard

Definition at line 33 of file sieveimapaccountsettings.cpp.

◆ serverName()

QString SieveImapAccountSettings::serverName ( ) const
nodiscard

Definition at line 23 of file sieveimapaccountsettings.cpp.

◆ setAuthenticationType()

void SieveImapAccountSettings::setAuthenticationType ( KSieveCore::SieveImapAccountSettings::AuthenticationMode type)

Definition at line 58 of file sieveimapaccountsettings.cpp.

◆ setEncryptionMode()

void SieveImapAccountSettings::setEncryptionMode ( SieveImapAccountSettings::EncryptionMode encryptionMode)

Definition at line 84 of file sieveimapaccountsettings.cpp.

◆ setPassword()

void SieveImapAccountSettings::setPassword ( const QString & password)

Definition at line 48 of file sieveimapaccountsettings.cpp.

◆ setPort()

void SieveImapAccountSettings::setPort ( int port)

Definition at line 28 of file sieveimapaccountsettings.cpp.

◆ setServerName()

void SieveImapAccountSettings::setServerName ( const QString & serverName)

Definition at line 18 of file sieveimapaccountsettings.cpp.

◆ setUserName()

void SieveImapAccountSettings::setUserName ( const QString & userName)

Definition at line 38 of file sieveimapaccountsettings.cpp.

◆ userName()

QString SieveImapAccountSettings::userName ( ) const
nodiscard

Definition at line 43 of file sieveimapaccountsettings.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.