Libksieve

legacy/vacationutils.h
1 /*
2  SPDX-FileCopyrightText: 2013-2021 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-only
5 */
6 
7 /*
8 
9 This file only contains legacy code, that can be removed if the legacy code is not needed anymore.
10 See README for further information.
11 
12 */
13 #pragma once
14 #include "ksieveui_export.h"
15 #include <QString>
16 
17 class QDate;
18 
19 namespace KMime
20 {
21 namespace Types
22 {
23 struct AddrSpec;
24 using AddrSpecList = QVector<AddrSpec>;
25 }
26 }
27 
28 namespace KSieveUi
29 {
30 namespace Legacy
31 {
32 namespace VacationUtils
33 {
34 /*
35 
36 This file only contains legacy code, that can be removed if the legacy code is not needed anymore.
37 See README for further information.
38 
39 */
40 QString KSIEVEUI_DEPRECATED composeScript(const QString &messageText,
41  const QString &subject,
42  int notificationInterval,
43  const KMime::Types::AddrSpecList &aliases,
44  bool sendForSpam,
45  const QString &excludeDomain,
46  const QDate &startDate,
47  const QDate &endDate);
48 
49 /*
50 
51 This file only contains legacy code, that can be removed if the legacy code is not needed anymore.
52 See README for further information.
53 
54 */
55 bool KSIEVEUI_DEPRECATED parseScript(const QString &script,
56  QString &messageText,
57  QString &subject,
58  int &notificationInterval,
60  bool &sendForSpam,
61  QString &domainName,
62  QDate &startDate,
63  QDate &endDate);
64 }
65 }
66 }
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sun Apr 11 2021 23:09:37 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.