Libksieve

sieveactionlist.cpp
1 /*
2  SPDX-FileCopyrightText: 2013-2021 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 #include "sieveactionlist.h"
7 #include "sieveaction.h"
8 #include "sieveactionaddflags.h"
9 #include "sieveactionaddheader.h"
10 #include "sieveactionbreak.h"
11 #include "sieveactionconvert.h"
12 #include "sieveactiondeleteheader.h"
13 #include "sieveactiondiscard.h"
14 #include "sieveactionenclose.h"
15 #include "sieveactionereject.h"
16 #include "sieveactionextracttext.h"
17 #include "sieveactionfileinto.h"
18 #include "sieveactionkeep.h"
19 #include "sieveactionnotify.h"
20 #include "sieveactionredirect.h"
21 #include "sieveactionreject.h"
22 #include "sieveactionremoveflags.h"
23 #include "sieveactionreplace.h"
24 #include "sieveactionreturn.h"
25 #include "sieveactionsetflags.h"
26 #include "sieveactionsetvariable.h"
27 #include "sieveactionstop.h"
28 #include "sieveactionvacation.h"
29 
30 QVector<KSieveUi::SieveAction *> KSieveUi::SieveActionList::actionList(SieveEditorGraphicalModeWidget *graphicalModeWidget)
31 {
33  list.append(new KSieveUi::SieveActionDiscard(graphicalModeWidget));
34  list.append(new KSieveUi::SieveActionStop(graphicalModeWidget));
35  list.append(new KSieveUi::SieveActionSetFlags(graphicalModeWidget));
36  list.append(new KSieveUi::SieveActionAddFlags(graphicalModeWidget));
37  list.append(new KSieveUi::SieveActionRemoveFlags(graphicalModeWidget));
38  list.append(new KSieveUi::SieveActionFileInto(graphicalModeWidget));
39  list.append(new KSieveUi::SieveActionReject(graphicalModeWidget));
40  list.append(new KSieveUi::SieveActionEReject(graphicalModeWidget));
41  list.append(new KSieveUi::SieveActionKeep(graphicalModeWidget));
42  list.append(new KSieveUi::SieveActionRedirect(graphicalModeWidget));
43  list.append(new KSieveUi::SieveActionNotify(graphicalModeWidget));
44  list.append(new KSieveUi::SieveActionDeleteHeader(graphicalModeWidget));
45  list.append(new KSieveUi::SieveActionAddHeader(graphicalModeWidget));
46  list.append(new KSieveUi::SieveActionVacation(graphicalModeWidget));
47  list.append(new KSieveUi::SieveActionEnclose(graphicalModeWidget));
48  list.append(new KSieveUi::SieveActionReplace(graphicalModeWidget));
49  list.append(new KSieveUi::SieveActionExtractText(graphicalModeWidget));
50  list.append(new KSieveUi::SieveActionBreak(graphicalModeWidget));
51  list.append(new KSieveUi::SieveActionConvert(graphicalModeWidget));
52  list.append(new KSieveUi::SieveActionSetVariable(graphicalModeWidget));
53  list.append(new KSieveUi::SieveActionReturn(graphicalModeWidget));
54  return list;
55 }
void append(const T &value)
KIOFILEWIDGETS_EXPORT QStringList list(const QString &fileClass)
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sun Apr 11 2021 23:09:36 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.