summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/kernel
diff options
context:
space:
mode:
authorPekka Vuorela <pekka.ta.vuorela@nokia.com>2012-01-24 17:44:38 +0200
committerQt by Nokia <qt-info@nokia.com>2012-02-02 11:10:04 +0100
commit71726ccf676ef0921ef557c7162d2d87563066fb (patch)
tree5c6095908fcc9bb37fb3716cdc430aad5de5aab1 /tests/auto/widgets/kernel
parentb2b3abe0ebc0ca147e1a29d06d1872bc09bf16cc (diff)
Renamed QInputPanel as QInputMethod
QInputMethod better describes what the class is about, input methods in general, be they panels or just composing input from key events. Compatability headers added for old name. Not bulletproof but should be enough to get transition done. Change-Id: Iefde6e7ccb1ec4a3b226cef3469089e751c60fc1 Reviewed-by: Joona Petrell <joona.t.petrell@nokia.com>
Diffstat (limited to 'tests/auto/widgets/kernel')
-rw-r--r--tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp
index e992e6d464..caf0f1f80d 100644
--- a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp
+++ b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp
@@ -8891,9 +8891,9 @@ void tst_QWidget::inputFocus_task257832()
widget->winId(); // make sure, widget has been created
widget->show();
QTRY_VERIFY(widget->hasFocus());
- QCOMPARE(qApp->inputPanel()->inputItem(), static_cast<QWidget*>(widget));
+ QCOMPARE(qApp->inputMethod()->inputItem(), static_cast<QWidget*>(widget));
widget->setReadOnly(true);
- QVERIFY(!qApp->inputPanel()->inputItem());
+ QVERIFY(!qApp->inputMethod()->inputItem());
delete widget;
}