24 #include <palmimedefines.h>
32 namespace Pre_Keyboard {
136 void set(
UKey key,
float weight = 1,
const UKey * extended = NULL)
140 void set(
UKey key,
UKey altkey,
float weight = 1,
const UKey * extended = NULL)
165 LayoutFamily(
const char * name,
const char * defaultLanguage, uint16_t primaryID, uint16_t secondaryID,
Layout * layout);
190 void setRect(
int x,
int y,
int w,
int h) { m_rect.setRect(x, y, w, h); m_limitsDirty =
true; }
191 const QRect &
rect()
const {
return m_rect; }
212 const PalmIME::EditorState &
editorState()
const {
return m_editorState; }
227 quint32
getPage()
const {
return m_layoutPage; }
253 PalmIME::EditorState m_editorState;
254 const LayoutFamily * m_layoutFamily;
263 QString m_languageName;
265 bool updateMapping();
266 void updateLanguageKey();
268 int xCenterOfKey(
int touchX,
int x,
int y,
float weight);
269 int yCenterOfRow(
int y);
274 #endif // PRE_KEYMAP_H