mailcommon
Go to the documentation of this file.
20 #ifndef MAILCOMMON_ITEMCONTEXT_H
21 #define MAILCOMMON_ITEMCONTEXT_H
23 #include "../mailcommon_export.h"
24 #include "../search/searchpattern.h"
26 #include <Akonadi/Collection>
27 #include <Akonadi/Item>
29 namespace MailCommon {
46 ItemContext(
const Akonadi::Item &item,
bool needsFullPayload );
51 Akonadi::Item &item();
56 void setMoveTargetCollection(
const Akonadi::Collection &collection );
62 Akonadi::Collection moveTargetCollection()
const;
67 void setNeedsPayloadStore();
72 bool needsPayloadStore()
const;
77 void setNeedsFlagStore();
82 bool needsFlagStore()
const;
86 bool needsFullPayload()
const;
89 bool deleteItem()
const;
92 enum ItemContextAction {
99 Q_DECLARE_FLAGS(ItemContextActions, ItemContextAction)
103 Akonadi::Collection mMoveTargetCollection;
104 ItemContextActions mItemContextAction;
#define MAILCOMMON_EXPORT
A helper class for the filtering process.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:40 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.