knode
#include <knrangefilter.h>
Public Member Functions | |
RangeFilter () | |
~RangeFilter () | |
bool | doFilter (int a) |
void | load (const KConfigGroup &conf) |
RangeFilter & | operator= (const RangeFilter &nr) |
void | save (KConfigGroup &conf) |
Protected Types | |
enum | Op { gt =0, gtoeq =1, eq =2, ltoeq =3, lt =4, dis =5 } |
Protected Member Functions | |
bool | matchesOp (int v1, Op o, int v2) |
Protected Attributes | |
bool | enabled |
Op | op1 |
Op | op2 |
int | val1 |
int | val2 |
Detailed Description
Filter for interger ranges.
Definition at line 30 of file knrangefilter.h.
Member Enumeration Documentation
|
protected |
Enumerator | |
---|---|
gt | |
gtoeq | |
eq | |
ltoeq | |
lt | |
dis |
Definition at line 50 of file knrangefilter.h.
Constructor & Destructor Documentation
|
inline |
Definition at line 35 of file knrangefilter.h.
|
inline |
Definition at line 36 of file knrangefilter.h.
Member Function Documentation
bool KNode::RangeFilter::doFilter | ( | int | a | ) |
Definition at line 28 of file knrangefilter.cpp.
void KNode::RangeFilter::load | ( | const KConfigGroup & | conf | ) |
Definition at line 73 of file knrangefilter.cpp.
|
protected |
Definition at line 55 of file knrangefilter.cpp.
|
inline |
Definition at line 38 of file knrangefilter.h.
void KNode::RangeFilter::save | ( | KConfigGroup & | conf | ) |
Definition at line 84 of file knrangefilter.cpp.
Member Data Documentation
|
protected |
Definition at line 55 of file knrangefilter.h.
|
protected |
Definition at line 54 of file knrangefilter.h.
|
protected |
Definition at line 54 of file knrangefilter.h.
|
protected |
Definition at line 53 of file knrangefilter.h.
|
protected |
Definition at line 53 of file knrangefilter.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.