diff options
author | Pekka Vuorela <pekka.ta.vuorela@nokia.com> | 2012-01-16 13:43:11 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-17 13:15:04 +0100 |
commit | cf0d5d4554999bfe34e65ddea52726543246fc73 (patch) | |
tree | 64a5f6f147b5d7283dbda942113d28b2fb6b1fe2 /src/gui/kernel/qguiapplication.cpp | |
parent | 90a3e6c7c4059835f41918c893436bd9490f813f (diff) |
Move keyboardInput data back to QApplication
Deprecated interface, rest of Qt now adapted to
QInputPanel.
Change-Id: Iacbbcac90dd7c037a24b45df1ee868f04090b21b
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Joona Petrell <joona.t.petrell@nokia.com>
Diffstat (limited to 'src/gui/kernel/qguiapplication.cpp')
-rw-r--r-- | src/gui/kernel/qguiapplication.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/gui/kernel/qguiapplication.cpp b/src/gui/kernel/qguiapplication.cpp index f92e66b38e..c89e144c84 100644 --- a/src/gui/kernel/qguiapplication.cpp +++ b/src/gui/kernel/qguiapplication.cpp @@ -1521,28 +1521,6 @@ uint QGuiApplicationPrivate::currentKeyPlatform() } /*! - \since 4.2 - \obsolete - - Returns the current keyboard input locale. Replaced with QInputPanel::locale() -*/ -QLocale QGuiApplication::keyboardInputLocale() -{ - return qApp ? qApp->inputPanel()->locale() : QLocale::c(); -} - -/*! - \since 4.2 - \obsolete - - Returns the current keyboard input direction. Replaced with QInputPanel::inputDirection() -*/ -Qt::LayoutDirection QGuiApplication::keyboardInputDirection() -{ - return qApp ? qApp->inputPanel()->inputDirection() : Qt::LeftToRight; -} - -/*! \since 4.5 \fn void QGuiApplication::fontDatabaseChanged() |