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

kmail

kmpopheaders.h

Go to the documentation of this file.
00001 /*
00002   Copyright (c) 2001 Heiko Hund <heiko@ist.eigentlich.net>
00003   Copyright (c) 2001 Thorsten Zachmann <t.zachmann@zagge.de>
00004 
00005   This program is free software; you can redistribute it and/or modify
00006   it under the terms of the GNU General Public License as published by
00007   the Free Software Foundation; either version 2 of the License, or
00008   (at your option) any later version.
00009 
00010   This program is distributed in the hope that it will be useful,
00011   but WITHOUT ANY WARRANTY; without even the implied warranty of
00012   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00013   GNU General Public License for more details.
00014 
00015   You should have received a copy of the GNU General Public License along
00016   with this program; if not, write to the Free Software Foundation, Inc.,
00017   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00018 */
00019 
00020 #ifndef KMPopHeaders_H
00021 #define KMPopHeaders_H
00022 
00023 #include <QByteArray>
00024 
00025 class KMMessage;
00026 
00027 //Keep these corresponding to the column numbers in the dialog for easier coding
00028 //or change mapToAction and mapToColumn in PopHeadersView
00029 enum KMPopFilterAction { Down=0, Later=1, Delete=2, NoAction=3 };
00030 
00031 class KMPopHeaders {
00032 public:
00033 
00034   KMPopHeaders();
00035   ~KMPopHeaders();
00036 
00037   KMPopHeaders( const QByteArray & id, const QByteArray & uid,
00038                 KMPopFilterAction action );
00039 
00041   QByteArray id() const;
00042 
00044   QByteArray uid() const;
00045 
00047   KMMessage * header() const;
00048 
00054   void setHeader( KMMessage *header );
00055 
00056   KMPopFilterAction action() const;
00057 
00058   void setAction( KMPopFilterAction action );
00059 
00060   bool ruleMatched() const;
00061 
00062   void setRuleMatched( bool matched );
00063 
00064 private:
00065 
00066   KMPopFilterAction mAction;
00067   QByteArray mId;
00068   QByteArray mUid;
00069   bool mRuleMatched;
00070   KMMessage *mHeader;
00071 };
00072 
00073 #endif

kmail

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

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal