lib

KoVariableFormatCollection Class Reference

#include <KoVariable.h>

List of all members.


Detailed Description

The collection of formats for variables.

Example: date (short or long), time, string (prefix/suffix), number (prefix/suffix, decimals?)... Implements the flyweight pattern to share formats and create them on demand. Each KoDocument holds a KoVariableFormatCollection.

Definition at line 262 of file KoVariable.h.


Public Member Functions

 KoVariableFormatCollection ()
void clear ()
KoVariableFormatformat (const QCString &key)

Protected Member Functions

KoVariableFormatcreateFormat (const QCString &key)

Member Function Documentation

void KoVariableFormatCollection::clear void   )  [inline]
 

Forget (and erase) all the formats this collection knows about.

Definition at line 270 of file KoVariable.h.

KoVariableFormat * KoVariableFormatCollection::format const QCString &  key  ) 
 

Find or create the format for the given key.

Definition at line 448 of file KoVariable.cpp.


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