KSieveCore::Util

KSieveCore::Util Namespace Reference

Functions

KSIEVECORE_EXPORT bool allowOutOfOfficeSettings ()
 
KSIEVECORE_EXPORT bool checkOutOfOfficeOnStartup ()
 
KSIEVECORE_EXPORT bool hasKep14CapabilitySupport (const QStringList &sieveCapabilities)
 
KSIEVECORE_EXPORT bool hasKep14Support (const QStringList &sieveCapabilities, const QStringList &availableScripts, const QString &activeScript)
 
KSIEVECORE_EXPORT bool isKep14ProtectedName (const QString &scriptName)
 
KSIEVECORE_EXPORT QDebug operator<< (QDebug d, const Util::AccountInfo &info)
 
KSIEVECORE_EXPORT QList< KSieveCore::SieveImapInstancesieveImapInstances ()
 
KSIEVECORE_EXPORT QStringList sieveImapResourceNames ()
 

Detailed Description

The Util namespace contains a collection of helper functions use in various places.

Function Documentation

◆ allowOutOfOfficeSettings()

bool KSieveCore::Util::allowOutOfOfficeSettings ( )

Returns whether the functionality of vacation sieve script editing shall be available at all.

Definition at line 52 of file util.cpp.

◆ checkOutOfOfficeOnStartup()

bool KSieveCore::Util::checkOutOfOfficeOnStartup ( )

Returns whether the availability of a vacation sieve script shall be checked at the start up of an application.

Definition at line 47 of file util.cpp.

◆ hasKep14CapabilitySupport()

bool KSieveCore::Util::hasKep14CapabilitySupport ( const QStringList & sieveCapabilities)
nodiscard

Definition at line 57 of file util.cpp.

◆ hasKep14Support()

bool KSieveCore::Util::hasKep14Support ( const QStringList & sieveCapabilities,
const QStringList & availableScripts,
const QString & activeScript )
nodiscard

Checks if a server has KEP:14 support.

Definition at line 63 of file util.cpp.

◆ isKep14ProtectedName()

bool KSieveCore::Util::isKep14ProtectedName ( const QString & scriptName)
nodiscard

Is the given scriptName a protected KEP:14 name, that a normal user should not touch directly.

it tests against MASTER, USER and MANAGEMENT script

Definition at line 94 of file util.cpp.

◆ operator<<()

QDebug KSieveCore::Util::operator<< ( QDebug d,
const Util::AccountInfo & info )

Definition at line 103 of file util.cpp.

◆ sieveImapInstances()

QList< KSieveCore::SieveImapInstance > KSieveCore::Util::sieveImapInstances ( )
nodiscard

Returns the list of configured IMAP agent instances.

Definition at line 32 of file util.cpp.

◆ sieveImapResourceNames()

QStringList KSieveCore::Util::sieveImapResourceNames ( )
nodiscard

Definition at line 21 of file util.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Aug 30 2024 11:45:02 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.