KSieveUi::VacationManager Class

The VacationManager class Author: Laurent Montel <montel@kde.org>. More...

Header: #include <KSieveUi/VacationManager>
CMake: find_package(KPim6KSieveUi REQUIRED)
target_link_libraries(mytarget PRIVATE KPim6::KSieveUi)
Inherits: QObject

Public Functions

VacationManager(KSieveCore::SieveImapPasswordProvider *passwordProvider, QWidget *parent)
virtual ~VacationManager() override
void checkVacation()

Public Slots

void slotEditVacation(const QString &serverName)

Signals

void updateVacationScriptStatus(bool active, const QString &serverName)

Detailed Description

Member Function Documentation

[explicit] VacationManager::VacationManager(KSieveCore::SieveImapPasswordProvider *passwordProvider, QWidget *parent)

Constructs a VacationManager with the given password provider and parent widget.

[override virtual noexcept] VacationManager::~VacationManager()

Destroys the VacationManager.

void VacationManager::checkVacation()

Checks the vacation status.

[slot] void VacationManager::slotEditVacation(const QString &serverName)

Edits the vacation message for the given server. serverName The name of the server.

[signal] void VacationManager::updateVacationScriptStatus(bool active, const QString &serverName)

Emitted when the vacation script status is updated. active true if vacation is active, false otherwise. serverName The name of the server.