diff options
author | Pekka Vuorela <pekka.ta.vuorela@nokia.com> | 2012-01-20 17:57:21 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-27 13:27:54 +0100 |
commit | dd565d2d4c7e9b766bc9f575d803ebaad71b33b7 (patch) | |
tree | b81f8b84e26c8b433759e6f97cdcacd0c5419dd0 /src/gui/kernel/qinputpanel_p.h | |
parent | e7d0d54084aa04387ebfb8cee292248df5355021 (diff) |
QGuiApplication::focusObject() to replace QInputPanel::inputItem()
* Deprecated QInputPanel::inputWindow() which is already
just returning QGuiApplication::activeWindow()
* Deprecated QInputPanel::inputItem() and introduced
QGuiApplication::focusObject(). Input methods can check
input method support by Qt::ImEnabled query.
Change-Id: I70a9c1c3f79aadb75c839d0489a9428f7a221df5
Reviewed-by: Joona Petrell <joona.t.petrell@nokia.com>
Diffstat (limited to 'src/gui/kernel/qinputpanel_p.h')
-rw-r--r-- | src/gui/kernel/qinputpanel_p.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/kernel/qinputpanel_p.h b/src/gui/kernel/qinputpanel_p.h index a61269c141..2528363c96 100644 --- a/src/gui/kernel/qinputpanel_p.h +++ b/src/gui/kernel/qinputpanel_p.h @@ -55,6 +55,8 @@ QT_BEGIN_NAMESPACE class QInputPanelPrivate : public QObjectPrivate { + Q_DECLARE_PUBLIC(QInputPanel) + public: inline QInputPanelPrivate() : testContext(0) {} @@ -66,6 +68,8 @@ public: { return inputPanel->d_func(); } + void q_connectFocusObject(); + void q_checkFocusObject(QObject *object); QTransform inputItemTransform; QWeakPointer<QObject> inputItem; |