void InputContext::setVisible(bool value) { if (mVisible != value) { mVisible = value; emitInputPanelVisibleChanged(); emit visibleChanged(); } }
void QQnxInputContext::keyboardVisibilityChanged(bool visible) { qInputContextDebug() << Q_FUNC_INFO << "visible=" << visible; if (m_inputPanelVisible != visible) { m_inputPanelVisible = visible; emitInputPanelVisibleChanged(); } }
void QMaliitPlatformInputContext::showInputPanel() { if (debug) qDebug() << "showInputPanel"; if (!inputMethodAccepted()) d->visibility = InputPanelShowRequested; else { d->server->showInputMethod(); d->visibility = InputPanelShown; emitInputPanelVisibleChanged(); } }
void QMeeGoPlatformInputContext::showInputPanel() { if (debug) qDebug() << "showInputPanel"; QInputPanel *panel = qApp->inputPanel(); if (!panel->inputItem() || !panel->inputWindow()) d->visibility = InputPanelShowRequested; else { d->server->showInputMethod(); d->visibility = InputPanelShown; emitInputPanelVisibleChanged(); } }
void QMeeGoPlatformInputContext::hideInputPanel() { d->server->hideInputMethod(); d->visibility = InputPanelHidden; emitInputPanelVisibleChanged(); }
void QMeeGoPlatformInputContext::imInitiatedHide() { d->visibility = InputPanelHidden; emitInputPanelVisibleChanged(); // ### clear focus }