QLinuxFbFunctions Class
The QLinuxFbFunctions class is an inline class containing platform-specific functionality for the linuxfb platform plugin that is typically used on systems running Embedded Linux or Android. More...
Header: | #include <QLinuxFbFunctions> |
Public Types
typedef | LoadKeymapType |
typedef | SwitchLangType |
Static Public Members
void | loadKeymap(const QString &filename) |
QByteArray | loadKeymapTypeIdentifier() |
void | switchLang() |
QByteArray | switchLangTypeIdentifier() |
Detailed Description
The QLinuxFbFunctions class is an inline class containing platform-specific functionality for the linuxfb platform plugin that is typically used on systems running Embedded Linux or Android.
Note: There is no binary compatibility guarantee for this class, meaning that an application using it is only guaranteed to work with the Qt version it was developed against.
Member Type Documentation
typedef QLinuxFbFunctions::LoadKeymapType
Function type for loadKeymap.
typedef QLinuxFbFunctions::SwitchLangType
Member Function Documentation
[static]
void QLinuxFbFunctions::loadKeymap(const QString &filename)
Loads and switches to the keymap from filename. When filename is empty, the default keymap, which is either the built-on one or the keymap given in the plugin specification, is restored.
Note: This is functional only when the evdev keyboard support code is compiled in to the platform plugin. When using external generic plugins via the -plugin
argument, or when the environment variable QT_QPA_FB_DISABLE_INPUT
is set or when building Qt without evdev support, this function will have no effect.
[static]
QByteArray QLinuxFbFunctions::loadKeymapTypeIdentifier()
Returns the identifier that can be passed to QGuiApplication::platformFunction() to query the entry point for the loadKeymap function implementation.
[static]
void QLinuxFbFunctions::switchLang()
Switches between English and other language when the keymap is loaded. Usually the keymap contains two languages: English and national. When you load the keymap, English is selected by default. This function allows to switch between these languages.
Note: This is functional only when the evdev keyboard support code is compiled in to the platform plugin. When using external generic plugins via the -plugin
argument, or when the environment variable QT_QPA_FB_DISABLE_INPUT
is set or when building Qt without evdev support, this function will have no effect.
[static]
QByteArray QLinuxFbFunctions::switchLangTypeIdentifier()
© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.