summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwidget.cpp
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-04-01 09:04:29 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-04-01 13:10:27 (GMT)
commitebd82c4fb5d7e9b417baca199b6f9e6893318536 (patch)
treee60db72cd73d8035b79df356b20bc4a5f1df261e /src/gui/kernel/qwidget.cpp
parentb224b6006e823435297c2f0b82c835f5987f9b10 (diff)
downloadQt-ebd82c4fb5d7e9b417baca199b6f9e6893318536.zip
Qt-ebd82c4fb5d7e9b417baca199b6f9e6893318536.tar.gz
Qt-ebd82c4fb5d7e9b417baca199b6f9e6893318536.tar.bz2
Removed obsolete internal function that focuses input context.
Reviewed-by: TrustMe
Diffstat (limited to 'src/gui/kernel/qwidget.cpp')
-rw-r--r--src/gui/kernel/qwidget.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/gui/kernel/qwidget.cpp b/src/gui/kernel/qwidget.cpp
index 09162ee..fd3d304 100644
--- a/src/gui/kernel/qwidget.cpp
+++ b/src/gui/kernel/qwidget.cpp
@@ -235,28 +235,6 @@ QWindowSurface *QWidgetPrivate::createDefaultWindowSurface()
/*!
\internal
- This is an internal function, you should never call this.
-
- This function is called to focus associated input context. The
- code intends to eliminate duplicate focus for the context even if
- the context is shared between widgets
-
- \sa QInputContext::setFocus()
- */
-void QWidgetPrivate::focusInputContext()
-{
-#ifndef QT_NO_IM
- Q_Q(QWidget);
- QInputContext *qic = q->inputContext();
- if (qic) {
- if(qic->focusWidget() != q)
- qic->setFocusWidget(q);
- }
-#endif // QT_NO_IM
-}
-
-/*!
- \internal
*/
void QWidgetPrivate::scrollChildren(int dx, int dy)
{