From ce10188aa97cbb8f5945e169a2bca1407f8b825e Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Fri, 30 Jan 2015 11:23:56 +0100 Subject: Expose TabFocusBehavior in QStyleHints TabAllWidgets in QPlatformTheme is replaced by TabFocusBehavior. [ChangeLog][QtGui] Expose TabFocusBehavior in QStyleHints Change-Id: Iafaad7c6a5c6bc888d1e124e6ddcdbdc46f37b1c Reviewed-by: Shawn Rutledge Reviewed-by: Paul Olav Tvete --- src/gui/kernel/qplatformtheme.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gui/kernel/qplatformtheme.h') diff --git a/src/gui/kernel/qplatformtheme.h b/src/gui/kernel/qplatformtheme.h index 534ab700ae..69cc2f90af 100644 --- a/src/gui/kernel/qplatformtheme.h +++ b/src/gui/kernel/qplatformtheme.h @@ -95,7 +95,12 @@ public: KeyboardScheme, UiEffects, SpellCheckUnderlineStyle, +#if QT_VERSION >= QT_VERSION_CHECK(6,0,0) + TabFocusBehavior, +#else TabAllWidgets, + TabFocusBehavior = TabAllWidgets, +#endif IconPixmapSizes, PasswordMaskCharacter, DialogSnapToDefaultButton, -- cgit v1.2.3