#include <filteritem.h>
Public Member Functions | |
FilterItem (uint filterNr) | |
~FilterItem () | |
void | print () const |
FilterAction_Type | check (QString from, QString to, uint size, QString subject, QStringList header, QString account, QString &mailboxName) const |
Definition at line 42 of file filteritem.h.
FilterItem::FilterItem | ( | uint | filterNr | ) |
Constructor Loads the settings from the config file
filterNr | Number of the filter |
Definition at line 20 of file filteritem.cpp.
FilterItem::~FilterItem | ( | ) |
Destructor
Definition at line 77 of file filteritem.cpp.
void FilterItem::print | ( | ) | const |
Prints the settings.
Definition at line 140 of file filteritem.cpp.
FilterAction_Type FilterItem::check | ( | QString | from, | |
QString | to, | |||
uint | size, | |||
QString | subject, | |||
QStringList | header, | |||
QString | account, | |||
QString & | mailboxName | |||
) | const |
Checks the given mail header.
from | Sender | |
to | Addressee | |
size | Size | |
subject | Subject | |
header | Header | |
account | Account | |
mailboxName | contains the mailbox name after call, if filter action is MOVE |
Definition at line 88 of file filteritem.cpp.