diff options
author | Pekka Vuorela <pekka.ta.vuorela@nokia.com> | 2012-01-05 13:29:23 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-07 17:25:59 +0100 |
commit | a98741516c02bbc1f479300d08a39fb5f93e1d64 (patch) | |
tree | 7dc52f76f910628f36d4955b4fb321675a5842b9 /src/gui/kernel/qguiapplication.h | |
parent | a2fd2f90ec6f17715cff5b7e954c31b5356db649 (diff) |
Move keyboard locale and input direction to QInputPanel
Deprecated QGuiApplication::keyboardInputLocale() and
keyboardInputDirection(), introduced QInputPanel::locale()
and inputDirection().
Change-Id: Ic48c77f10821a949751c73c73f22bd78e2192b9c
Reviewed-by: Joona Petrell <joona.t.petrell@nokia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/gui/kernel/qguiapplication.h')
-rw-r--r-- | src/gui/kernel/qguiapplication.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/kernel/qguiapplication.h b/src/gui/kernel/qguiapplication.h index c66cb7d22d..7223e2639e 100644 --- a/src/gui/kernel/qguiapplication.h +++ b/src/gui/kernel/qguiapplication.h @@ -118,9 +118,8 @@ public: static inline bool isRightToLeft() { return layoutDirection() == Qt::RightToLeft; } static inline bool isLeftToRight() { return layoutDirection() == Qt::LeftToRight; } - // ### move to QInputPanel - static QLocale keyboardInputLocale(); - static Qt::LayoutDirection keyboardInputDirection(); + QT_DEPRECATED static QLocale keyboardInputLocale(); + QT_DEPRECATED static Qt::LayoutDirection keyboardInputDirection(); QStyleHints *styleHints() const; QInputPanel *inputPanel() const; |