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

ModifiersHandler Class Reference

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

Collaboration diagram for ModifiersHandler:

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
QString m_type
int m_code
int m_mask
QValueList< int > m_release
bool m_mapping
bool m_toggle

Member Function Documentation

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

Definition at line 3 of file ModifiersHandler.cpp.

References m_parent, and m_parser.

Referenced by KeycfgHandler::startElement().

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

Definition at line 71 of file ModifiersHandler.cpp.

References KeyMappings::assign(), KeyModifiers::assign(), KeyModifiers::assignRelease(), QValueList< T >::begin(), code, QValueList< T >::end(), KeyNames::getCode(), m_code, m_mapping, m_mask, m_parent, m_parser, m_pMappings, m_pModifiers, m_release, m_toggle, m_type, QString::null, qDebug(), and KeyNames::setCode().

void ModifiersHandler::setKeyMappings KeyMappings map  )  [inline]
 

Definition at line 21 of file ModifiersHandler.h.

References m_pMappings.

Referenced by KeycfgHandler::startElement().

void ModifiersHandler::setKeyModifiers KeyModifiers mod  )  [inline]
 

Definition at line 17 of file ModifiersHandler.h.

References m_pModifiers.

Referenced by KeycfgHandler::startElement().

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

Definition at line 10 of file ModifiersHandler.cpp.

References QValueList< T >::append(), QValueList< T >::clear(), code, KeyNames::getCode(), KeyModifiers::getMask(), KHUtil::hex2int(), i, m_code, m_mapping, m_mask, m_pModifiers, m_release, m_toggle, m_type, and QString::null.


Member Data Documentation

int ModifiersHandler::m_code [private]
 

Definition at line 41 of file ModifiersHandler.h.

Referenced by endElement(), and startElement().

bool ModifiersHandler::m_mapping [private]
 

Definition at line 44 of file ModifiersHandler.h.

Referenced by endElement(), and startElement().

int ModifiersHandler::m_mask [private]
 

Definition at line 42 of file ModifiersHandler.h.

Referenced by endElement(), and startElement().

QXmlContentHandler* ModifiersHandler::m_parent [private]
 

Definition at line 34 of file ModifiersHandler.h.

Referenced by dispose(), and endElement().

QXmlReader* ModifiersHandler::m_parser [private]
 

Definition at line 35 of file ModifiersHandler.h.

Referenced by dispose(), and endElement().

KeyMappings* ModifiersHandler::m_pMappings [private]
 

Definition at line 38 of file ModifiersHandler.h.

Referenced by endElement(), and setKeyMappings().

KeyModifiers* ModifiersHandler::m_pModifiers [private]
 

Definition at line 37 of file ModifiersHandler.h.

Referenced by endElement(), setKeyModifiers(), and startElement().

QValueList<int> ModifiersHandler::m_release [private]
 

Definition at line 43 of file ModifiersHandler.h.

Referenced by endElement(), and startElement().

bool ModifiersHandler::m_toggle [private]
 

Definition at line 45 of file ModifiersHandler.h.

Referenced by endElement(), and startElement().

QString ModifiersHandler::m_type [private]
 

Definition at line 40 of file ModifiersHandler.h.

Referenced by endElement(), and startElement().


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