• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

mailcommon

  • sources
  • kde-4.12
  • kdepim
  • mailcommon
  • filter
filteractionunsetstatus.h
Go to the documentation of this file.
1 /* -*- mode: C++; c-file-style: "gnu" -*-
2 
3  Copyright (c) 2012 Montel Laurent <montel@kde.org>
4 
5  This program is free software; you can redistribute it and/or modify it
6  under the terms of the GNU General Public License, version 2, as
7  published by the Free Software Foundation.
8 
9  This program is distributed in the hope that it will be useful, but
10  WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License along
15  with this program; if not, write to the Free Software Foundation, Inc.,
16  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 */
18 
19 #ifndef FILTERACTIONUNSETSTATUS_H
20 #define FILTERACTIONUNSETSTATUS_H
21 
22 #include "filteractionstatus.h"
23 namespace MailCommon {
24 
25 class FilterActionUnsetStatus: public FilterActionStatus
26 {
27  Q_OBJECT
28 public:
29  explicit FilterActionUnsetStatus( QObject *parent = 0 );
30  ReturnCode process( ItemContext &context, bool applyOnOutbound ) const;
31  SearchRule::RequiredPart requiredPart() const;
32 
33  static FilterAction* newAction();
34  QString sieveCode() const;
35  QStringList sieveRequires() const;
36 };
37 }
38 
39 #endif // FILTERACTIONUNSETSTATUS_H
MailCommon::FilterActionUnsetStatus::process
ReturnCode process(ItemContext &context, bool applyOnOutbound) const
Execute action on given message (inside the item context).
Definition: filteractionunsetstatus.cpp:34
MailCommon::FilterActionStatus
Definition: filteractionstatus.h:26
QObject
filteractionstatus.h
MailCommon::FilterAction
Abstract base class for mail filter actions.
Definition: filteraction.h:52
MailCommon::FilterActionUnsetStatus::sieveCode
QString sieveCode() const
Definition: filteractionunsetstatus.cpp:70
MailCommon::SearchRule::RequiredPart
RequiredPart
Definition: searchpattern.h:104
MailCommon::FilterActionUnsetStatus::newAction
static FilterAction * newAction()
Definition: filteractionunsetstatus.cpp:24
MailCommon::FilterActionUnsetStatus::requiredPart
SearchRule::RequiredPart requiredPart() const
Returns the required part from the item that is needed for the action to operate. ...
Definition: filteractionunsetstatus.cpp:65
MailCommon::FilterAction::ReturnCode
ReturnCode
Describes the possible return codes of filter processing:
Definition: filteraction.h:60
context
const char * context
Definition: searchpatternedit.cpp:54
MailCommon::FilterActionUnsetStatus
Definition: filteractionunsetstatus.h:25
MailCommon::ItemContext
A helper class for the filtering process.
Definition: itemcontext.h:39
MailCommon::FilterActionUnsetStatus::sieveRequires
QStringList sieveRequires() const
Definition: filteractionunsetstatus.cpp:89
MailCommon::FilterActionUnsetStatus::FilterActionUnsetStatus
FilterActionUnsetStatus(QObject *parent=0)
Definition: filteractionunsetstatus.cpp:29
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:14 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

mailcommon

Skip menu "mailcommon"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal