|  | Home · Overviews · Examples |

# QInputContextFactory Class Reference
[com.trolltech.qt.gui module]

The `QInputContextFactory` class creates `QInputContext` objects. More...

## Detailed Description

The `QInputContextFactory` class creates `QInputContext` objects.

The input context factory creates a `QInputContext` object for a given key with QInputContextFactory::create().

The input contexts are either built-in or dynamically loaded from an input context plugin (see QInputContextPlugin).

`keys` returns a list of valid keys. The keys are the names used, for example, to identify and specify input methods for the input method switching mechanism. The names have to be consistent with QInputContext::identifierName(), and may only contain ASCII characters.

A key can be used to retrieve the associated input context's supported languages using `languages`. You can retrieve the input context's description using `description` and finally you can get a user friendly internationalized name of the `QInputContext` object specified by the key using `displayName`.

See also `QInputContext` and `QInputContextPlugin`.