Ejemplo n.º 1
0
void
InputContext::focusOut()
{
    uim_focus_out_context(mUc);
    uim_helper_client_focus_out(mUc);
    if (mFocusedContext == this) {
	Canddisp *disp = canddisp_singleton();
	if (isCaretStateShown())
	    disp->hide_caret_state();
	if (hasActiveCandwin())
	    disp->hide();
    }
}
Ejemplo n.º 2
0
void QUimInputContext::unsetFocus()
{
#ifdef ENABLE_DEBUG
    qDebug( "QUimInputContext: %p->unsetFocus(), focusWidget()=%p",
            this, focusWidget() );
#endif
    uim_focus_out_context( m_uc );

    cwin->hide();

    m_HelperManager->checkHelperConnection();

    uim_helper_client_focus_out( m_uc );
}