8#include "ksievecore_export.h"
20class ParseUserScriptJob;
21class GenerateGlobalScriptJob;
22class KSIEVECORE_EXPORT VacationCreateScriptJob :
public QObject
26 explicit VacationCreateScriptJob(
QObject *parent =
nullptr);
27 ~VacationCreateScriptJob()
override;
32 void setServerUrl(
const QUrl &url);
33 void setScript(
const QString &script);
34 void setServerName(
const QString &servername);
35 [[nodiscard]]
const QString &serverName()
const;
36 void setStatus(
bool activate,
bool wasActive);
37 void setKep14Support(
bool kep14Support);
41 void scriptActive(
bool activated,
const QString &serverName);
46 void slotGotActiveScripts(KSieveCore::ParseUserScriptJob *job);
55 bool mActivate =
false;
56 bool mScriptActive =
false;
57 bool mKep14Support =
false;
58 bool mUserJobRunning =
false;
59 bool mScriptJobRunning =
false;
62 KSieveCore::ParseUserScriptJob *mParseUserJob =
nullptr;
63 KSieveCore::GenerateGlobalScriptJob *mCreateJob =
nullptr;
A job to manage sieve scripts.
Q_SCRIPTABLE Q_NOREPLY void start()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:57:10 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.