equal
deleted
inserted
replaced
93 mSavedFocusObject = focusObject->object(); |
93 mSavedFocusObject = focusObject->object(); |
94 mSavedEditorText = editorText; |
94 mSavedEditorText = editorText; |
95 mDidHandleFinish = false; |
95 mDidHandleFinish = false; |
96 mainWindow()->setProperty("SpellQueryLaunched", true); |
96 mainWindow()->setProperty("SpellQueryLaunched", true); |
97 open(this,SLOT(dialogClosed(HbAction*))); |
97 open(this,SLOT(dialogClosed(HbAction*))); |
98 mPrimaryAction = qobject_cast<HbAction*>(actions().first()); |
98 mPrimaryAction = qobject_cast<HbAction*>(actions().first()); |
|
99 |
|
100 // Open keypad for the spell query |
|
101 QInputContext *ic = qApp->inputContext(); |
|
102 if (ic) { |
|
103 QEvent *event = new QEvent(QEvent::RequestSoftwareInputPanel); |
|
104 ic->filterEvent(event); |
|
105 delete event; |
|
106 } |
99 } |
107 } |
100 |
108 |
101 void HbInputSpellQuery::dialogClosed(HbAction* action) |
109 void HbInputSpellQuery::dialogClosed(HbAction* action) |
102 { |
110 { |
103 mainWindow()->setProperty("SpellQueryLaunched", false); |
111 mainWindow()->setProperty("SpellQueryLaunched", false); |