diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-02-03 12:16:29 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-02-04 14:11:28 +0000 |
commit | 5f7f27759e23fb1e5f3779a580adcf5bb6d5ecd6 (patch) | |
tree | 46c6dc99752ea4492c43758f0e49cd971653e09f /src/controls/Private/qquickcontrolsettings_p.h | |
parent | 31803eb51bb2dde55776317b678d48d76f0e27fe (diff) | |
download | qtquickcontrols-5f7f27759e23fb1e5f3779a580adcf5bb6d5ecd6.tar.gz |
Disable hover on touch
Task-number: QTBUG-44267
Change-Id: I467f08ae6c5264b7e858022af9ff293117434018
Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
Diffstat (limited to 'src/controls/Private/qquickcontrolsettings_p.h')
-rw-r--r-- | src/controls/Private/qquickcontrolsettings_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/controls/Private/qquickcontrolsettings_p.h b/src/controls/Private/qquickcontrolsettings_p.h index 72a1ca6a..d7352db3 100644 --- a/src/controls/Private/qquickcontrolsettings_p.h +++ b/src/controls/Private/qquickcontrolsettings_p.h @@ -51,6 +51,7 @@ class QQuickControlSettings : public QObject Q_PROPERTY(qreal dragThreshold READ dragThreshold CONSTANT) Q_PROPERTY(bool hasTouchScreen READ hasTouchScreen CONSTANT) Q_PROPERTY(bool isMobile READ isMobile CONSTANT) + Q_PROPERTY(bool hoverEnabled READ hoverEnabled CONSTANT) public: QQuickControlSettings(QQmlEngine *engine); @@ -68,6 +69,7 @@ public: bool hasTouchScreen() const; bool isMobile() const; + bool hoverEnabled() const; signals: void styleChanged(); |