Maliit Plugins  0.92.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator
Public Member Functions | Static Public Attributes
MaliitKeyboard::ShiftMachine Class Reference

#include <shiftmachine.h>

Inheritance diagram for MaliitKeyboard::ShiftMachine:
MaliitKeyboard::AbstractStateMachine

List of all members.

Public Member Functions

 ShiftMachine (QObject *parent=0)
virtual ~ShiftMachine ()
virtual void setup (LayoutUpdater *updater)
- Public Member Functions inherited from MaliitKeyboard::AbstractStateMachine
 AbstractStateMachine ()
virtual ~AbstractStateMachine ()=0
virtual bool inState (const QString &name) const
virtual void restart ()

Static Public Attributes

static const char *const no_shift_state = "no-shift"
static const char *const shift_state = "shift"
static const char *const latched_shift_state = "latched-shift"
static const char *const caps_lock_state = "caps-lock"
 Same as latched shift?

Constructor & Destructor Documentation

MaliitKeyboard::ShiftMachine::ShiftMachine ( QObject *  parent = 0)
explicit
MaliitKeyboard::ShiftMachine::~ShiftMachine ( )
virtual

Member Function Documentation

void MaliitKeyboard::ShiftMachine::setup ( LayoutUpdater updater)
virtual

Member Data Documentation

const char *const MaliitKeyboard::ShiftMachine::caps_lock_state = "caps-lock"
static

Same as latched shift?

const char *const MaliitKeyboard::ShiftMachine::latched_shift_state = "latched-shift"
static

This state means that shift was pressed and released and thus user can enter several uppercased characters.

const char *const MaliitKeyboard::ShiftMachine::no_shift_state = "no-shift"
static

This state means that neither shift nor caps-lock wasn't pressed. Entered characters are lowercased. This is initial state.

const char *const MaliitKeyboard::ShiftMachine::shift_state = "shift"
static

This state means that shift was pressed but not yet released. Now user can either release shift state to latch it or press a key to enter one uppercased character.


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