From 9c551778c8b7932a9bd665b37c8332f1b218cd5a Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Wed, 8 Apr 2020 13:20:17 +0200 Subject: [PATCH] QApplication: remove deprecated keyboardInputLocale/Direction members Change-Id: I87767cbf16aadb1ee36cfed958b5d6367a565915 Reviewed-by: Sona Kurazyan --- src/widgets/kernel/qapplication.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/widgets/kernel/qapplication.h b/src/widgets/kernel/qapplication.h index d8b14ae6077..1a924ec0e1b 100644 --- a/src/widgets/kernel/qapplication.h +++ b/src/widgets/kernel/qapplication.h @@ -155,13 +155,6 @@ public: static bool isEffectEnabled(Qt::UIEffect); static void setEffectEnabled(Qt::UIEffect, bool enable = true); -#if QT_DEPRECATED_SINCE(5, 0) - QT_DEPRECATED static QLocale keyboardInputLocale() - { return qApp ? QGuiApplication::inputMethod()->locale() : QLocale::c(); } - QT_DEPRECATED static Qt::LayoutDirection keyboardInputDirection() - { return qApp ? QGuiApplication::inputMethod()->inputDirection() : Qt::LeftToRight; } -#endif - static int exec(); bool notify(QObject *, QEvent *) override;