SaX::SaXKeyRules Class Reference

SaX2 - XKB key rules class. More...

#include <keyboard.h>

Inheritance diagram for SaX::SaXKeyRules:
[legend]

List of all members.

Public Member Functions

QDict< QString > getModels (void)
QDict< QString > getLayouts (void)
QDict< QString > getOptions (void)
QList< QString > getVariants (const QString &)
 SaXKeyRules (QString rule=SAX_DEFAULT_RULE)

Protected Member Functions

void loadRules (QString)


Detailed Description

SaX2 - XKB key rules class.

The key rules class has been implemented to provide access to the XKB file extensions. This extensions provides information about the supported keyboard models layout and variants

Definition at line 85 of file keyboard.h.


Constructor & Destructor Documentation

SaX::SaXKeyRules::SaXKeyRules ( QString  rule = SAX_DEFAULT_RULE  ) 

An object of this type is used to access the xkbfile library to be able to know about the possible XKB map settings

Definition at line 27 of file keyboard.cpp.

References loadRules().

Here is the call graph for this function:


Member Function Documentation

void SaX::SaXKeyRules::loadRules ( QString  file  )  [protected]

Load the models, layouts and options from the given XKB rules file

Definition at line 43 of file keyboard.cpp.

References SaX::SaXException::errorString(), and SaX::SaXException::excXKBLoadRulesFailed().

Referenced by SaXKeyRules().

Here is the call graph for this function:

QList< QString > SaX::SaXKeyRules::getVariants ( const QString &  layout  )  [virtual]

obtain a list of all variants belonging to the given baselayout.

Implements SaX::SaXKeyRulesIF.

Definition at line 105 of file keyboard.cpp.

References getLayouts().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Tue Sep 25 20:18:18 2007 for libsax by  doxygen 1.5.3