QNX: Fix QInputMethod::keyboardRectangleChanged() signal
Change-Id: Iad3ee07ba85854d2eb0cf36710643b75993bf61c Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
This commit is contained in:
parent
3fb356f531
commit
3a2276c6f3
@ -62,6 +62,7 @@ QQnxInputContext::QQnxInputContext(QQnxIntegration *integration, QQnxAbstractVir
|
||||
m_integration(integration),
|
||||
m_virtualKeyboard(keyboard)
|
||||
{
|
||||
connect(&keyboard, SIGNAL(heightChanged(int)), this, SLOT(keyboardHeightChanged()));
|
||||
connect(&keyboard, SIGNAL(visibilityChanged(bool)), this, SLOT(keyboardVisibilityChanged(bool)));
|
||||
connect(&keyboard, SIGNAL(localeChanged(QLocale)), this, SLOT(keyboardLocaleChanged(QLocale)));
|
||||
keyboardVisibilityChanged(keyboard.isVisible());
|
||||
@ -147,6 +148,11 @@ QLocale QQnxInputContext::locale() const
|
||||
return m_inputPanelLocale;
|
||||
}
|
||||
|
||||
void QQnxInputContext::keyboardHeightChanged()
|
||||
{
|
||||
emitKeyboardRectChanged();
|
||||
}
|
||||
|
||||
void QQnxInputContext::keyboardVisibilityChanged(bool visible)
|
||||
{
|
||||
qInputContextDebug() << Q_FUNC_INFO << "visible=" << visible;
|
||||
|
@ -73,6 +73,7 @@ public:
|
||||
void setFocusObject(QObject *object);
|
||||
|
||||
private Q_SLOTS:
|
||||
void keyboardHeightChanged();
|
||||
void keyboardVisibilityChanged(bool visible);
|
||||
void keyboardLocaleChanged(const QLocale &locale);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user