KDE PIM / Developers / API Docs / libkdepim

RuleStack Class Reference

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

#include <kscoring.h>

List of all members.

Public Member Functions


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


Member Function Documentation

void RuleStack::push QPtrList< KScoringRule > &   ) 
 

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

void RuleStack::pop QPtrList< KScoringRule > &   ) 
 

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

void RuleStack::top QPtrList< KScoringRule > &   ) 
 

like pop but without dropping the TOS

void RuleStack::drop  ) 
 

drops the TOS


The documentation for this class was generated from the following files: