libkdepim

RuleStack Class Reference

#include <kscoring.h>

List of all members.


Detailed Description

this helper class implements a stack for lists of lists of rules.

With the help of this class its very easy for the KScoringManager to temporary drop lists of rules and restore them afterwards

Definition at line 283 of file kscoring.h.


Public Member Functions

 RuleStack ()
 ~RuleStack ()
void push (QPtrList< KScoringRule > &)
void pop (QPtrList< KScoringRule > &)
void top (QPtrList< KScoringRule > &)
void drop ()

Member Function Documentation

void RuleStack::push ( QPtrList< KScoringRule > &   ) 

puts the list on the stack, doesn't change the list

Definition at line 1201 of file kscoring.cpp.

void RuleStack::pop ( QPtrList< KScoringRule > &   ) 

clears the argument list and copy the content of the TOS into it after that the TOS gets dropped

Definition at line 1212 of file kscoring.cpp.

void RuleStack::top ( QPtrList< KScoringRule > &   ) 

like pop but without dropping the TOS

Definition at line 1220 of file kscoring.cpp.

void RuleStack::drop (  ) 

drops the TOS

Definition at line 1227 of file kscoring.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys