#include <Filter.h>
Inheritance diagram for Filter:
Public Types | |
enum | Policy { Transient = 0, Final = 1 } |
Public Member Functions | |
Filter (const QString &name, MtpContext *ctxt=0) | |
virtual | ~Filter () |
virtual bool | applyTo (QString &) |
void | setPolicy (Policy p) |
Policy | policy () const |
bool | isEnabled () const |
void | setEnabled (bool) |
void | enable () |
void | disable () |
QString | getName () const |
QString | getResult () const |
void | setResult (const QString &) |
QString | applyProcessedRegexpToPattern (MtpRegExp &, const QString &) |
Private Attributes | |
QString | name |
QString | result |
Policy | pol |
bool | active |
MtpContext * | m_context |
Definition at line 23 of file Filter.h.
|
Definition at line 26 of file Filter.h. Referenced by MtpFilter::MtpFilter(), and policy(). |
|
Definition at line 14 of file Filter.cpp. References m_context. |
|
Definition at line 20 of file Filter.cpp. |
|
Definition at line 58 of file Filter.cpp. References MtpRegExp::cap(), MtpContext::getValue(), and m_context. Referenced by LineFilter::applyTo(), ItemFilter::applyTo(), InputFilter::applyTo(), GlobalFilter::applyTo(), and BlockFilter::applyTo(). |
|
Reimplemented in GlobalFilter, InputFilter, ItemFilter, and LineFilter. |
|
Definition at line 42 of file Filter.cpp. References active. |
|
Definition at line 38 of file Filter.cpp. References active. |
|
Definition at line 46 of file Filter.cpp. References name. |
|
Definition at line 50 of file Filter.cpp. References result. Referenced by MtpFilter::filterOut(). |
|
Definition at line 30 of file Filter.cpp. References active. |
|
Definition at line 26 of file Filter.cpp. Referenced by MtpFilter::filterOut(). |
|
Definition at line 34 of file Filter.cpp. References active. Referenced by MtpFilter::MtpFilter(). |
|
Definition at line 22 of file Filter.cpp. References pol. Referenced by ItemFilter::ItemFilter(), and MtpFilter::MtpFilter(). |
|
Definition at line 54 of file Filter.cpp. References result. Referenced by LineFilter::applyTo(), ItemFilter::applyTo(), InputFilter::applyTo(), GlobalFilter::applyTo(), and BlockFilter::applyTo(). |
|
Definition at line 54 of file Filter.h. Referenced by disable(), enable(), isEnabled(), and setEnabled(). |
|
Reimplemented in BlockFilter, InputFilter, ItemFilter, and LineFilter. Definition at line 55 of file Filter.h. Referenced by applyProcessedRegexpToPattern(), and Filter(). |
|
Definition at line 51 of file Filter.h. Referenced by getName(). |
|
Definition at line 53 of file Filter.h. Referenced by policy(), and setPolicy(). |
|
Definition at line 52 of file Filter.h. Referenced by getResult(), and setResult(). |