diff options
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 3f90862f9..72a1ca6a8 100644 --- a/src/controls/Private/qquickcontrolsettings_p.h +++ b/src/controls/Private/qquickcontrolsettings_p.h @@ -50,6 +50,7 @@ class QQuickControlSettings : public QObject Q_PROPERTY(qreal dpiScaleFactor READ dpiScaleFactor CONSTANT) Q_PROPERTY(qreal dragThreshold READ dragThreshold CONSTANT) Q_PROPERTY(bool hasTouchScreen READ hasTouchScreen CONSTANT) + Q_PROPERTY(bool isMobile READ isMobile CONSTANT) public: QQuickControlSettings(QQmlEngine *engine); @@ -66,6 +67,7 @@ public: qreal dragThreshold() const; bool hasTouchScreen() const; + bool isMobile() const; signals: void styleChanged(); |
