• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

knode

KNode::RangeFilter

KNode::RangeFilter Class Reference

#include <knrangefilter.h>

List of all members.


Detailed Description

Filter for interger ranges.

Definition at line 30 of file knrangefilter.h.


Public Member Functions

bool doFilter (int a)
void load (const KConfigGroup &conf)
RangeFilter & operator= (const RangeFilter &nr)
 RangeFilter ()
void save (KConfigGroup &conf)
 ~RangeFilter ()

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

Member Enumeration Documentation

enum KNode::RangeFilter::Op [protected]

Enumerator:
gt 
gtoeq 
eq 
ltoeq 
lt 
dis 

Definition at line 50 of file knrangefilter.h.


Constructor & Destructor Documentation

KNode::RangeFilter::RangeFilter (  )  [inline]

Definition at line 35 of file knrangefilter.h.

KNode::RangeFilter::~RangeFilter (  )  [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.

bool KNode::RangeFilter::matchesOp ( int  v1,
Op  o,
int  v2 
) [protected]

Definition at line 55 of file knrangefilter.cpp.

RangeFilter& KNode::RangeFilter::operator= ( const RangeFilter &  nr  )  [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

bool KNode::RangeFilter::enabled [protected]

Definition at line 55 of file knrangefilter.h.

Op KNode::RangeFilter::op1 [protected]

Definition at line 54 of file knrangefilter.h.

Op KNode::RangeFilter::op2 [protected]

Definition at line 54 of file knrangefilter.h.

int KNode::RangeFilter::val1 [protected]

Definition at line 53 of file knrangefilter.h.

int KNode::RangeFilter::val2 [protected]

Definition at line 53 of file knrangefilter.h.


The documentation for this class was generated from the following files:
  • knrangefilter.h
  • knrangefilter.cpp

knode

Skip menu "knode"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal