aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols2/qquickstyle_p.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-11-09 17:06:17 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2016-11-10 11:28:10 +0000
commitf5467114b789dcb33ad88105fe84bddf42436d8c (patch)
treebac248119788d47ee05e99e6f0cdf2ac0c179407 /src/quickcontrols2/qquickstyle_p.h
parentd6e03b3837f369e9fc94915ef3ad649903845382 (diff)
QQuickStyle::availableStyles()
This allows us to introduce platform-specific styles, such as the iOS style, and make them appear correctly in the Gallery example so that we don't have to hard-code the lists separately for different platforms. [ChangeLog][Controls][QQuickStyle] Added availableStyles() method that returns the list of available built-in styles. Change-Id: Ieea88577f402cbc52a844d6777e64c6bd55c5ab9 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quickcontrols2/qquickstyle_p.h')
-rw-r--r--src/quickcontrols2/qquickstyle_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quickcontrols2/qquickstyle_p.h b/src/quickcontrols2/qquickstyle_p.h
index cfe87fbb..a893d20a 100644
--- a/src/quickcontrols2/qquickstyle_p.h
+++ b/src/quickcontrols2/qquickstyle_p.h
@@ -56,6 +56,7 @@ QT_BEGIN_NAMESPACE
class Q_QUICKCONTROLS2_PRIVATE_EXPORT QQuickStylePrivate
{
public:
+ static QStringList stylePaths();
static QString fallbackStyle();
static bool isCustomStyle();
static void init(const QUrl &baseUrl);