KSieveUi::MultiImapVacationDialog Class

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

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

Public Functions

MultiImapVacationDialog(KSieveCore::MultiImapVacationManager *manager, QWidget *parent = nullptr)
virtual ~MultiImapVacationDialog() override
QList<KSieveCore::VacationCreateScriptJob *> listCreateJob() const
void switchToServerNamePage(const QString &serverName)

Reimplemented Public Functions

virtual void reject() override

Signals

void cancelClicked()
void okClicked()

Detailed Description

Member Function Documentation

[explicit] MultiImapVacationDialog::MultiImapVacationDialog(KSieveCore::MultiImapVacationManager *manager, QWidget *parent = nullptr)

Constructs a MultiImapVacationDialog with the given manager and parent widget. manager The MultiImapVacationManager instance. parent The parent widget.

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

Destroys the MultiImapVacationDialog.

[signal] void MultiImapVacationDialog::cancelClicked()

Emitted when the Cancel button is clicked.

QList<KSieveCore::VacationCreateScriptJob *> MultiImapVacationDialog::listCreateJob() const

Returns the list of vacation creation jobs. Returns A list of VacationCreateScriptJob pointers.

[signal] void MultiImapVacationDialog::okClicked()

Emitted when the OK button is clicked.

[override virtual] void MultiImapVacationDialog::reject()

Rejects the dialog.

void MultiImapVacationDialog::switchToServerNamePage(const QString &serverName)

Switches to the vacation page for the given server. serverName The name of the server.