Public Types | |
enum | secondCondition { noSecondCondition, condAnd, condOr } |
Public Member Functions | |
FilterElem () | |
FilterElem (const FilterRecord &) | |
FilterElem (const FilterElem &) | |
void | setSecondCondition (secondCondition scnd, const FilterRecord &) |
~FilterElem () | |
TQString | toString () const |
bool | matches (ShowRecordElem *) |
unsigned int | getCounter () |
void | setCounter (unsigned int number) |
void | incCounter () |
Public Attributes | |
FilterRecord | _filter1 |
FilterRecord | _filter2 |
secondCondition | _secondCondition |
Private Attributes | |
unsigned int | _counter |
Definition at line 48 of file filterelem.h.
unsigned int FilterElem::getCounter | ( | ) |
Returns the number of mail deletions which was caused by this filter.
Definition at line 289 of file filterelem.cpp.
References _counter.
Referenced by FilterList::compareItems(), and FilterEntryDialog::FilterEntryDialog().
void FilterElem::setCounter | ( | unsigned int | number | ) |
Sets the deleted mail counter.
number | number of mail deletions caused by this filter |
Definition at line 299 of file filterelem.cpp.
References _counter.
Referenced by FilterList::readOptions(), and FilterEntryDialog::slotCounterChanged().
void FilterElem::incCounter | ( | ) |
Increments the deleted mail counter.
Definition at line 294 of file filterelem.cpp.
References _counter.
unsigned int FilterElem::_counter [private] |
Number of mails its deletion was caused by this filter.
Definition at line 90 of file filterelem.h.
Referenced by getCounter(), incCounter(), setCounter(), and toString().