Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

MappingsHandler Class Reference

#include </home/clem/local/src/opie/noncore/applets/keyhelper/keyhelperapplet/config/MappingsHandler.h>

Collaboration diagram for MappingsHandler:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void dispose (QXmlReader *parser, QXmlContentHandler *parent)
void setKeyModifiers (KeyModifiers *mod)
void setKeyMappings (KeyMappings *map)
bool startElement (const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts)
bool endElement (const QString &namespaceURI, const QString &localName, const QString &qName)

Private Attributes

QXmlContentHandler * m_parent
QXmlReader * m_parser
KeyModifiersm_pModifiers
KeyMappingsm_pMappings
int m_code
int m_mask
int m_mapcode
int m_unicode
QMap< QString, QStringm_mapmodifiers
QMap< QString, QStringm_mapunicodes

Member Function Documentation

void MappingsHandler::dispose QXmlReader *  parser,
QXmlContentHandler *  parent
 

Definition at line 3 of file MappingsHandler.cpp.

References m_parent, and m_parser.

Referenced by KeycfgHandler::startElement().

bool MappingsHandler::endElement const QString namespaceURI,
const QString localName,
const QString qName
 

Definition at line 72 of file MappingsHandler.cpp.

References KeyMappings::assign(), KeyMappings::assignModifier(), KeyMappings::assignUnicode(), QMap< Key, T >::begin(), QMap< Key, T >::end(), m_code, m_mapcode, m_mapmodifiers, m_mapunicodes, m_mask, m_parent, m_parser, m_pMappings, and m_unicode.

void MappingsHandler::setKeyMappings KeyMappings map  )  [inline]
 

Definition at line 21 of file MappingsHandler.h.

References m_pMappings.

Referenced by KeycfgHandler::startElement().

void MappingsHandler::setKeyModifiers KeyModifiers mod  )  [inline]
 

Definition at line 17 of file MappingsHandler.h.

References m_pModifiers.

Referenced by KeycfgHandler::startElement().

bool MappingsHandler::startElement const QString namespaceURI,
const QString localName,
const QString qName,
const QXmlAttributes &  atts
 

Definition at line 10 of file MappingsHandler.cpp.

References QMap< Key, T >::clear(), KeyNames::getCode(), KeyModifiers::getMask(), KHUtil::hex2int(), i, m_code, m_mapcode, m_mapmodifiers, m_mapunicodes, m_mask, m_pModifiers, and m_unicode.


Member Data Documentation

int MappingsHandler::m_code [private]
 

Definition at line 40 of file MappingsHandler.h.

Referenced by endElement(), and startElement().

int MappingsHandler::m_mapcode [private]
 

Definition at line 42 of file MappingsHandler.h.

Referenced by endElement(), and startElement().

QMap<QString,QString> MappingsHandler::m_mapmodifiers [private]
 

Definition at line 44 of file MappingsHandler.h.

Referenced by endElement(), and startElement().

QMap<QString,QString> MappingsHandler::m_mapunicodes [private]
 

Definition at line 45 of file MappingsHandler.h.

Referenced by endElement(), and startElement().

int MappingsHandler::m_mask [private]
 

Definition at line 41 of file MappingsHandler.h.

Referenced by endElement(), and startElement().

QXmlContentHandler* MappingsHandler::m_parent [private]
 

Definition at line 34 of file MappingsHandler.h.

Referenced by dispose(), and endElement().

QXmlReader* MappingsHandler::m_parser [private]
 

Definition at line 35 of file MappingsHandler.h.

Referenced by dispose(), and endElement().

KeyMappings* MappingsHandler::m_pMappings [private]
 

Definition at line 38 of file MappingsHandler.h.

Referenced by endElement(), and setKeyMappings().

KeyModifiers* MappingsHandler::m_pModifiers [private]
 

Definition at line 37 of file MappingsHandler.h.

Referenced by setKeyModifiers(), and startElement().

int MappingsHandler::m_unicode [private]
 

Definition at line 43 of file MappingsHandler.h.

Referenced by endElement(), and startElement().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:39:45 2005 for OPIE by  doxygen 1.4.2