summaryrefslogtreecommitdiff
path: root/src/controls/Private/qquickcontrolsettings_p.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@digia.com>2014-09-18 16:48:25 +0200
committerJ-P Nurmi <jpnurmi@digia.com>2014-09-19 12:24:18 +0200
commit332ef31f0d1645eded5588729176134bbdcd38a2 (patch)
tree71091684801a123a6b748eb21a51d813943bd3b1 /src/controls/Private/qquickcontrolsettings_p.h
parent85114be06703e7675b6c780776e45c14a69a5c2d (diff)
downloadqtquickcontrols-332ef31f0d1645eded5588729176134bbdcd38a2.tar.gz
Default to Text.QtRendering on mobile platforms
Change-Id: I9aa23691aa8bb4659545ed43c1506128a639ff6c Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Diffstat (limited to 'src/controls/Private/qquickcontrolsettings_p.h')
-rw-r--r--src/controls/Private/qquickcontrolsettings_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/controls/Private/qquickcontrolsettings_p.h b/src/controls/Private/qquickcontrolsettings_p.h
index 3f90862f..72a1ca6a 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();