KTextTemplate::RenderContext

Search for usage in LXR

KTextTemplate::RenderContext Class Reference

#include <rendercontext.h>

Public Member Functions

 ~RenderContext ()
 
bool contains (Node *const scopeNode) const
 
QVariantdata (const Node *const scopeNode)
 

Detailed Description

Provides storage facility for state while rendering a template.

This class can not be instatiated by users of it. An instance of RenderContext is available through Context::renderContext() for use with implementations of re-entrant template tags.

Definition at line 35 of file rendercontext.h.

Constructor & Destructor Documentation

◆ ~RenderContext()

RenderContext::~RenderContext ( )

Destructor.

Definition at line 38 of file rendercontext.cpp.

Member Function Documentation

◆ contains()

bool RenderContext::contains ( Node *const scopeNode) const

Returns whether the RenderContext contains data for scopeNode.

Definition at line 49 of file rendercontext.cpp.

◆ data()

QVariant & RenderContext::data ( const Node *const scopeNode)

Returns the data for the node scopeNode.

Definition at line 56 of file rendercontext.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:17 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.