Libksieve

sieveactionlist.cpp
1/*
2 SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org>
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
30QList<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}
KIOCORE_EXPORT QStringList list(const QString &fileClass)
void append(QList< T > &&value)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.