diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-03-06 11:52:10 +0100 |
---|---|---|
committer | Jari-Pekka Nurmi <jpnurmi@theqtcompany.com> | 2015-03-11 01:06:44 +0200 |
commit | a3921bcf01275425350c9c153fe92086a34d1403 (patch) | |
tree | 1c5c4dd36e9d19a36281bde723c7bf989bc70298 /src/controls/qquickabstractapplicationwindow_p.h | |
parent | e9398b7465c7df38876d0c6528ea5c42bbd8bf6a (diff) |
Implement Style as an attached property
Change-Id: I006ee566647e31d1a14919d164d7dd68539aae10
Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/controls/qquickabstractapplicationwindow_p.h')
-rw-r--r-- | src/controls/qquickabstractapplicationwindow_p.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/controls/qquickabstractapplicationwindow_p.h b/src/controls/qquickabstractapplicationwindow_p.h index 8438a278..4b378123 100644 --- a/src/controls/qquickabstractapplicationwindow_p.h +++ b/src/controls/qquickabstractapplicationwindow_p.h @@ -50,20 +50,16 @@ #include <QtQuick/private/qquickwindowmodule_p.h> #include <QtQuickControls/private/qtquickcontrolsglobal_p.h> -#include <QtQuickControls/private/qquickstylable_p.h> QT_BEGIN_NAMESPACE -class QQuickStyle; class QQuickAbstractApplicationWindowPrivate; -class Q_QUICKCONTROLS_EXPORT QQuickAbstractApplicationWindow : public QQuickWindowQmlImpl, public QQuickStylable +class Q_QUICKCONTROLS_EXPORT QQuickAbstractApplicationWindow : public QQuickWindowQmlImpl { Q_OBJECT - Q_INTERFACES(QQuickStylable) Q_PROPERTY(QQuickItem *header READ header WRITE setHeader NOTIFY headerChanged FINAL) Q_PROPERTY(QQuickItem *footer READ footer WRITE setFooter NOTIFY footerChanged FINAL) - Q_PROPERTY(QQuickStyle *style READ style WRITE setStyle NOTIFY styleChanged FINAL) Q_PROPERTY(qreal contentWidth READ contentWidth WRITE setContentWidth NOTIFY contentWidthChanged FINAL) Q_PROPERTY(qreal contentHeight READ contentHeight WRITE setContentHeight NOTIFY contentHeightChanged FINAL) @@ -77,11 +73,6 @@ public: QQuickItem *footer() const; void setFooter(QQuickItem *footer); - QQuickStyle *style() const Q_DECL_OVERRIDE; - void setStyle(QQuickStyle *style) Q_DECL_OVERRIDE; - bool hasStyle() const Q_DECL_OVERRIDE; - void resetStyle() Q_DECL_OVERRIDE; - qreal contentWidth() const; void setContentWidth(qreal width); @@ -91,7 +82,6 @@ public: Q_SIGNALS: void headerChanged(); void footerChanged(); - void styleChanged(); void contentWidthChanged(); void contentHeightChanged(); |