QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Kms Class Reference

List of all members.

Public Member Functions

void bindCommandsToAction (void action)
 Assigns the appropriate commands from the KMS file to the given action.
void bindShortcutsToAction (void action)
 Assigns the appropriate shortcuts from the KMS file to the given action.
void getCommandMap ()
void getShortcutMap ()
void Kms (void schemeName)

Public Attributes

int cmdMap
int scMap
int valid

Constructor & Destructor Documentation

void Kms::Kms ( void  schemeName)
inline

Member Function Documentation

void Kms::bindCommandsToAction ( void  action)
inline

Assigns the appropriate commands from the KMS file to the given action.

If no commands are defined in this KMS file, this function does nothing.

Returns:
true if commands from KMS were assigned, false otherwise.
void Kms::bindShortcutsToAction ( void  action)
inline

Assigns the appropriate shortcuts from the KMS file to the given action.

If no shortcuts are defined in this KMS file, this function does nothing.

Returns:
true if key codes from KMS were assigned, false otherwise.
void Kms::getCommandMap ( )
inline
void Kms::getShortcutMap ( )
inline

Member Data Documentation

int Kms::cmdMap
int Kms::scMap
int Kms::valid

The documentation for this class was generated from the following file: