diff options
Diffstat (limited to 'src/quickcontrols/fusion/qquickfusionstyle_p.h')
-rw-r--r-- | src/quickcontrols/fusion/qquickfusionstyle_p.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/quickcontrols/fusion/qquickfusionstyle_p.h b/src/quickcontrols/fusion/qquickfusionstyle_p.h index a264201211..47fdd77fd7 100644 --- a/src/quickcontrols/fusion/qquickfusionstyle_p.h +++ b/src/quickcontrols/fusion/qquickfusionstyle_p.h @@ -18,17 +18,19 @@ #include <QtCore/qobject.h> #include <QtGui/qcolor.h> #include <QtQml/qqml.h> -#include <QtQuick/private/qquickpalette_p.h> +#include <QtQuickControls2Fusion/qtquickcontrols2fusionexports.h> QT_BEGIN_NAMESPACE -class QQuickFusionStyle : public QObject +class QQuickPalette; + +class Q_QUICKCONTROLS2FUSION_EXPORT QQuickFusionStyle : public QObject { Q_OBJECT - Q_PROPERTY(QColor lightShade READ lightShade CONSTANT) - Q_PROPERTY(QColor darkShade READ darkShade CONSTANT) - Q_PROPERTY(QColor topShadow READ topShadow CONSTANT) - Q_PROPERTY(QColor innerContrastLine READ innerContrastLine CONSTANT) + Q_PROPERTY(QColor lightShade READ lightShade CONSTANT FINAL) + Q_PROPERTY(QColor darkShade READ darkShade CONSTANT FINAL) + Q_PROPERTY(QColor topShadow READ topShadow CONSTANT FINAL) + Q_PROPERTY(QColor innerContrastLine READ innerContrastLine CONSTANT FINAL) QML_NAMED_ELEMENT(Fusion) QML_SINGLETON QML_ADDED_IN_VERSION(2, 3) |