Home · API Reference · Modules |
Public Slots | |
void | startOrientationAngleChange (Maliit::OrientationAngle newOrientationAngle) |
void | setOrientationAngle (Maliit::OrientationAngle newOrientationAngle) |
void | setArea (const QRect &newRegion) |
Signals | |
void | areaChanged (const QRect ®ion) |
void | orientationAngleAboutToChange (Maliit::OrientationAngle orientationAngle) |
void | orientationAngleChanged (Maliit::OrientationAngle orientationAngle) |
void | keyPress (const QKeyEvent &) |
void | keyRelease (const QKeyEvent &) |
void | languageChanged (const QString &language) |
Public Member Functions | |
QRect | area () const |
Maliit::OrientationAngle | orientationAngle () const |
const QString & | language () const |
Static Public Member Functions | |
static InputMethod * | instance () |
InputMethod * Maliit::InputMethod::instance | ( | ) | [static] |
Get singleton instance.
Example of using the singleton InputMethod instance: plainqt/mainwindow.cpp Get singleton InputMethod instance
QRect Maliit::InputMethod::area | ( | ) | const |
Get current input method area.
OrientationAngle Maliit::InputMethod::orientationAngle | ( | ) | const |
Get the orientation of application's active window.
const QString & Maliit::InputMethod::language | ( | ) | const |
Current language of active input method.
void Maliit::InputMethod::startOrientationAngleChange | ( | Maliit::OrientationAngle | newOrientationAngle | ) | [slot] |
Application's active window start to rotate to newOrientationAngle.
void Maliit::InputMethod::setOrientationAngle | ( | Maliit::OrientationAngle | newOrientationAngle | ) | [slot] |
Set the orientation angle of application's active window to newOrientationAngle.
void Maliit::InputMethod::setArea | ( | const QRect & | newRegion | ) | [slot] |
Set input method area to newRegion.
void Maliit::InputMethod::areaChanged | ( | const QRect & | region | ) | [signal] |
Emitted when input method area is changed.
region | new input method area |
void Maliit::InputMethod::orientationAngleAboutToChange | ( | Maliit::OrientationAngle | orientationAngle | ) | [signal] |
This signal is emitted before the orientation angle of the application's active window is changed.
orientationAngle | New orientation angle which is about to change. |
void Maliit::InputMethod::orientationAngleChanged | ( | Maliit::OrientationAngle | orientationAngle | ) | [signal] |
This signal is emitted when the orientation angle of application's active window is changed.
orientationAngle | new orientation angle |
void Maliit::InputMethod::keyPress | ( | const QKeyEvent & | ) | [signal] |
Can be emitted by input method to notify about raw key press event it receives.
void Maliit::InputMethod::keyRelease | ( | const QKeyEvent & | ) | [signal] |
Can be emitted by input method to notify about raw key release event it receives.
void Maliit::InputMethod::languageChanged | ( | const QString & | language | ) | [signal] |
Copyright © 2011 Nokia Corporation | Maliit |