filters

TagProcessing Class Reference

#include <TagProcessing.h>

List of all members.


Detailed Description

The class TagProcessing and the two functions ProcessSubtags () and AllowNoSubtags () allow for easing parsing of subtags in the current tag.

If don't expect any subtags you call AllowNoSubtags (). Otherwise you create a list of TagProcessing elements and pass that to ProcessSubtags () which will go through all subtags it can find, call the corresponding processing function, and do all the necessary error handling.

Definition at line 55 of file TagProcessing.h.


Public Member Functions

 TagProcessing (const QString &n, void(*p)(QDomNode, void *, KWEFKWordLeader *), void *d)
 TagProcessing (const QString &_name)

Public Attributes

QString name
void(* processor )(QDomNode, void *, KWEFKWordLeader *)
void * data

Constructor & Destructor Documentation

TagProcessing::TagProcessing ( const QString &  _name  )  [inline]

No-op constructor.

Avoids a warning that a tag is unknown.

Definition at line 71 of file TagProcessing.h.


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