KSieveCore::SearchServerWithVacationSupportJob Class
The SearchServerWithVacationSupportJob class Author: Laurent Montel <montel@kde.org>. More...
| Header: | #include <KSieveCore/SearchServerWithVacationSupportJob> |
| CMake: | find_package(KPim6KSieveCore REQUIRED)target_link_libraries(mytarget PRIVATE KPim6::KSieveCore) |
| Inherits: | QObject |
Public Functions
| SearchServerWithVacationSupportJob(QObject *parent = nullptr) | |
| virtual | ~SearchServerWithVacationSupportJob() override |
| bool | canStart() const |
| KSieveCore::SieveImapPasswordProvider * | passwordProvider() const |
| void | setPasswordProvider(KSieveCore::SieveImapPasswordProvider *newProvider) |
| void | start() |
Signals
| void | searchServerWithVacationSupportFinished(const QMap<QString, KSieveCore::Util::AccountInfo> &info) |
Detailed Description
Member Function Documentation
[explicit] SearchServerWithVacationSupportJob::SearchServerWithVacationSupportJob(QObject *parent = nullptr)
Constructs a SearchServerWithVacationSupportJob with the given parent object. parent The parent object.
[override virtual noexcept] SearchServerWithVacationSupportJob::~SearchServerWithVacationSupportJob()
Destroys the SearchServerWithVacationSupportJob.
bool SearchServerWithVacationSupportJob::canStart() const
Checks if the job can be started. Returns true if all required information is set.
KSieveCore::SieveImapPasswordProvider *SearchServerWithVacationSupportJob::passwordProvider() const
Returns the password provider used by this job. Returns The SieveImapPasswordProvider instance.
See also setPasswordProvider().
[signal] void SearchServerWithVacationSupportJob::searchServerWithVacationSupportFinished(const QMap<QString, KSieveCore::Util::AccountInfo> &info)
Emitted when the search for servers with vacation support is finished. info A map of server names to account information.
void SearchServerWithVacationSupportJob::setPasswordProvider(KSieveCore::SieveImapPasswordProvider *newProvider)
Sets the password provider for this job. newProvider The new password provider instance.
See also passwordProvider().
void SearchServerWithVacationSupportJob::start()
Starts the search for servers with vacation support.