Libksieve

sieveconditionlist.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 "sieveconditionlist.h"
7#include "sievecondition.h"
8#include "sieveconditionaddress.h"
9#include "sieveconditionenvelope.h"
10#include "sieveconditionexists.h"
11#include "sieveconditionfalse.h"
12#include "sieveconditionheader.h"
13#include "sieveconditionsize.h"
14#include "sieveconditiontrue.h"
15// RFC5173 (extension)
16#include "sieveconditionbody.h"
17// rfc5260
18#include "sieveconditioncurrentdate.h"
19#include "sieveconditiondate.h"
20
21#include "sieveconditionmailboxexists.h"
22
23#include "sieveconditionenvironment.h"
24#include "sieveconditionihave.h"
25#include "sieveconditionspamtest.h"
26#include "sieveconditionvirustest.h"
27
28#include "sieveconditionconvert.h"
29#include "sieveconditionhasflag.h"
30#include "sieveconditionmetadata.h"
31#include "sieveconditionmetadataexists.h"
32#include "sieveconditionservermetadata.h"
33#include "sieveconditionservermetadataexists.h"
34
35QList<KSieveUi::SieveCondition *> KSieveUi::SieveConditionList::conditionList(SieveEditorGraphicalModeWidget *sieveGraphicalModeWidget)
36{
38 list.append(new KSieveUi::SieveConditionHeader(sieveGraphicalModeWidget));
39 list.append(new KSieveUi::SieveConditionAddress(sieveGraphicalModeWidget));
40 list.append(new KSieveUi::SieveConditionSize(sieveGraphicalModeWidget));
41 list.append(new KSieveUi::SieveConditionEnvelope(sieveGraphicalModeWidget));
42 list.append(new KSieveUi::SieveConditionExists(sieveGraphicalModeWidget));
43 list.append(new KSieveUi::SieveConditionTrue(sieveGraphicalModeWidget));
44 list.append(new KSieveUi::SieveConditionFalse(sieveGraphicalModeWidget));
45 list.append(new KSieveUi::SieveConditionBody(sieveGraphicalModeWidget));
46 list.append(new KSieveUi::SieveConditionDate(sieveGraphicalModeWidget));
47 list.append(new KSieveUi::SieveConditionCurrentDate(sieveGraphicalModeWidget));
48 list.append(new KSieveUi::SieveConditionMailboxExists(sieveGraphicalModeWidget));
49 list.append(new KSieveUi::SieveConditionSpamTest(sieveGraphicalModeWidget));
50 list.append(new KSieveUi::SieveConditionVirusTest(sieveGraphicalModeWidget));
51 list.append(new KSieveUi::SieveConditionIhave(sieveGraphicalModeWidget));
52 list.append(new KSieveUi::SieveConditionEnvironment(sieveGraphicalModeWidget));
53 list.append(new KSieveUi::SieveConditionHasFlag(sieveGraphicalModeWidget));
54 list.append(new KSieveUi::SieveConditionMetaData(sieveGraphicalModeWidget));
55 list.append(new KSieveUi::SieveConditionConvert(sieveGraphicalModeWidget));
56 list.append(new KSieveUi::SieveConditionMetaDataExists(sieveGraphicalModeWidget));
57 list.append(new KSieveUi::SieveConditionServerMetaData(sieveGraphicalModeWidget));
58 list.append(new KSieveUi::SieveConditionServerMetaDataExists(sieveGraphicalModeWidget));
59 return list;
60}
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.