diff options
author | Liang Qi <liang.qi@theqtcompany.com> | 2015-01-30 11:23:56 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@theqtcompany.com> | 2015-02-12 13:30:01 +0000 |
commit | ce10188aa97cbb8f5945e169a2bca1407f8b825e (patch) | |
tree | 815fb8d6de6a463aa74404929614fff10898d743 /src/gui/kernel/qstylehints.h | |
parent | 98aae7428d86155a596c4318643752477d7726ad (diff) |
Expose TabFocusBehavior in QStyleHints
TabAllWidgets in QPlatformTheme is replaced by TabFocusBehavior.
[ChangeLog][QtGui] Expose TabFocusBehavior in QStyleHints
Change-Id: Iafaad7c6a5c6bc888d1e124e6ddcdbdc46f37b1c
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com>
Diffstat (limited to 'src/gui/kernel/qstylehints.h')
-rw-r--r-- | src/gui/kernel/qstylehints.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qstylehints.h b/src/gui/kernel/qstylehints.h index 74447d86fb..5fbc851ee9 100644 --- a/src/gui/kernel/qstylehints.h +++ b/src/gui/kernel/qstylehints.h @@ -60,6 +60,7 @@ class Q_GUI_EXPORT QStyleHints : public QObject Q_PROPERTY(int startDragTime READ startDragTime NOTIFY startDragTimeChanged FINAL) Q_PROPERTY(int startDragVelocity READ startDragVelocity STORED false CONSTANT FINAL) Q_PROPERTY(bool useRtlExtensions READ useRtlExtensions STORED false CONSTANT FINAL) + Q_PROPERTY(Qt::TabFocusBehavior tabFocusBehavior READ tabFocusBehavior STORED false CONSTANT FINAL) public: void setMouseDoubleClickInterval(int mouseDoubleClickInterval); @@ -81,6 +82,7 @@ public: qreal fontSmoothingGamma() const; bool useRtlExtensions() const; bool setFocusOnTouchRelease() const; + Qt::TabFocusBehavior tabFocusBehavior() const; Q_SIGNALS: void cursorFlashTimeChanged(int cursorFlashTime); |