kmpopheaders.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef KMPopHeaders_H
00012 #define KMPopHeaders_H
00013
00014 #include <qstring.h>
00015 #include "kmmessage.h"
00016
00017
00018 enum KMPopFilterAction {Down=0, Later=1, Delete=2, NoAction=3};
00019
00020
00021 class KMPopHeaders {
00022 public:
00023
00024 KMPopHeaders();
00025 ~KMPopHeaders();
00027 KMPopHeaders(QString aId, QString aUid, KMPopFilterAction aAction);
00028
00030 QString id() const;
00031
00033 QString uid() const;
00034
00036 KMMessage * header() const;
00037
00039 void setHeader(KMMessage *aHeader);
00040
00042 KMPopFilterAction action() const;
00043
00045 void setAction(KMPopFilterAction aAction);
00047 bool ruleMatched();
00049 void setRuleMatched(bool b);
00050 protected:
00052 KMPopFilterAction mAction;
00054 QString mId;
00056 QString mUid;
00058 bool mRuleMatched;
00060 KMMessage *mHeader;
00061 };
00062
00063 #endif
This file is part of the documentation for kmail Library Version 3.2.2.