lib

SymbolTable Class Reference

#include <symboltable.h>

List of all members.


Detailed Description

The symbol table.

It contains all names that are know to the system.

Definition at line 77 of file symboltable.h.


Public Types

typedef QMap< QChar, QString > NameTable
typedef QMap< QString, QChar > EntryTable

Public Member Functions

 SymbolTable ()
void init (const QFont &font)
bool contains (QString name) const
QChar unicode (QString name) const
QString name (QChar symbol) const
QFont font (QChar symbol, const QFont &f) const
CharClass charClass (QChar symbol) const
QString greekLetters () const
QChar unicodeFromSymbolFont (QChar pos) const
QStringList allNames () const

Member Function Documentation

void SymbolTable::init ( const QFont &  font  ) 

lazy init support.

Needs to be run before anything else.

Parameters:
install if true fonts may be installed if needed

Definition at line 66 of file symboltable.cc.

QChar SymbolTable::unicode ( QString  name  )  const

Returns:
the char in the symbol font that belongs to the given name.

Definition at line 88 of file symboltable.cc.

QString SymbolTable::greekLetters (  )  const

Returns:
a string with all greek letters.

Definition at line 121 of file symboltable.cc.

QChar SymbolTable::unicodeFromSymbolFont ( QChar  pos  )  const

Returns:
the unicode value of the symbol font char.

Definition at line 115 of file symboltable.cc.

QStringList SymbolTable::allNames (  )  const

Returns:
all known names as strings.

Definition at line 127 of file symboltable.cc.


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