summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPekka Vuorela <pvuorela@iki.fi>2012-08-21 14:19:47 +0300
committerQt by Nokia <qt-info@nokia.com>2012-08-23 11:20:37 +0200
commit2292bf06693c683ba353bcbea6ab9bd1209044ea (patch)
tree897c4d627f8123357637c6017b5633b22591d04e /tests
parentb6f92043e054ca348bf82555d7f0bb5ed44af66c (diff)
Remove remaining bits of deprecated QInputPanel
Introduced during Qt5 development and renamed to QInputMethod. Change-Id: If6744648dc98b779e65c449ae32626db574181df Reviewed-by: Joona Petrell <joona.petrell@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp
index 3b45acfa1a..ad6bde7b70 100644
--- a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp
+++ b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp
@@ -9010,13 +9010,13 @@ void tst_QWidget::focusProxyAndInputMethods()
// and that the input method gets the focus proxy passed
// as the focus widget instead of the child widget.
// otherwise input method queries go to the wrong widget
- QCOMPARE(qApp->inputPanel()->inputItem(), toplevel.data());
+ QCOMPARE(qApp->inputMethod()->inputItem(), toplevel.data());
toplevel->setAttribute(Qt::WA_InputMethodEnabled, false);
- QVERIFY(!qApp->inputPanel()->inputItem());
+ QVERIFY(!qApp->inputMethod()->inputItem());
toplevel->setAttribute(Qt::WA_InputMethodEnabled, true);
- QCOMPARE(qApp->inputPanel()->inputItem(), toplevel.data());
+ QCOMPARE(qApp->inputMethod()->inputItem(), toplevel.data());
}
#ifdef QT_BUILD_INTERNAL