Don't let contentItem be FINAL in order to allow shadowing.

For subclasses that adds menubars, toolbars etc, the plan is to expose
another item (the item excluding the menubars, toolbars) as a
contentItem.

Task-number: QTBUG-32443

Change-Id: Id12fc50efde3fdf363e4528dd5de17177ddef24f
Reviewed-by: Alan Alpert (Personal) <416365416c@gmail.com>
This commit is contained in:
Jan Arve Saether 2013-10-18 15:21:43 +02:00 committed by The Qt Project
parent 0a3e9a41b1
commit 388fc07cf2
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ class Q_QUICK_EXPORT QQuickWindow : public QWindow
Q_OBJECT
Q_PRIVATE_PROPERTY(QQuickWindow::d_func(), QQmlListProperty<QObject> data READ data DESIGNABLE false)
Q_PROPERTY(QColor color READ color WRITE setColor NOTIFY colorChanged)
Q_PROPERTY(QQuickItem* contentItem READ contentItem CONSTANT FINAL)
Q_PROPERTY(QQuickItem* contentItem READ contentItem CONSTANT)
Q_PROPERTY(QQuickItem* activeFocusItem READ activeFocusItem NOTIFY activeFocusItemChanged REVISION 1)
Q_CLASSINFO("DefaultProperty", "data")
Q_DECLARE_PRIVATE(QQuickWindow)