@@ -35,7 +35,7 @@ FocusScope {
35 property bool enableHeightBehaviorOnNextCreation: false
35 property bool enableHeightBehaviorOnNextCreation: false
36 property var categoryView: categoryView
36 property var categoryView: categoryView
38− property var styleTool: StyleTool {
38+ property var scopeStyle: ScopeStyle {
39 style: scope ? scope.customizations : {}
39 style: scope ? scope.customizations : {}
@@ -105,7 +105,7 @@ FocusScope {
106 Rectangle {
106 Rectangle {
107 anchors.fill: parent
107 anchors.fill: parent
108− color: scopeView.styleTool.background
108+ color: scopeView.scopeStyle.background
109 visible: color != "transparent"
109 visible: color != "transparent"
@@ -176,7 +176,7 @@ FocusScope {
176 item.model = Qt.binding(function() { return results })
176 item.model = Qt.binding(function() { return results })
178 item.objectName = Qt.binding(function() { return categoryId })
178 item.objectName = Qt.binding(function() { return categoryId })
179− item.styleTool = scopeView.styleTool;
179+ item.scopeStyle = scopeView.scopeStyle;
180 if (item.expandable) {
180 if (item.expandable) {
181 var shouldFilter = categoryId != categoryView.expandedCategoryId;
181 var shouldFilter = categoryId != categoryView.expandedCategoryId;
182 item.setFilter(shouldFilter, false /*animate*/);
182 item.setFilter(shouldFilter, false /*animate*/);
@@ -316,7 +316,7 @@ FocusScope {
316 property var delegate: categoryView.item(delegateIndex)
316 property var delegate: categoryView.item(delegateIndex)
317 width: categoryView.width
317 width: categoryView.width
318 text: section
318 text: section
319− textColor: styleTool.foreground
319+ textColor: scopeStyle.foreground
321 if (delegate && delegate.expandable)
321 if (delegate && delegate.expandable)
322 return delegate.filtered ? "graphics/header_handlearrow.png" : "graphics/header_handlearrow2.png"
322 return delegate.filtered ? "graphics/header_handlearrow.png" : "graphics/header_handlearrow2.png"
@@ -337,7 +337,7 @@ FocusScope {
337 showBackButton: scopeView.hasBackAction
337 showBackButton: scopeView.hasBackAction
338 searchEntryEnabled: true
338 searchEntryEnabled: true
339 searchInProgress: scopeView.scope ? scopeView.scope.searchInProgress : false
339 searchInProgress: scopeView.scope ? scopeView.scope.searchInProgress : false
340− styleTool: scopeView.styleTool
340+ scopeStyle: scopeView.scopeStyle
342 bottomItem: DashDepartments {
342 bottomItem: DashDepartments {
343 scope: scopeView.scope
343 scope: scopeView.scope
@@ -345,7 +345,7 @@ FocusScope {
345 anchors.right: parent.right
345 anchors.right: parent.right
346 windowHeight: scopeView.height
346 windowHeight: scopeView.height
347 windowWidth: scopeView.width
347 windowWidth: scopeView.width
348− styleTool: scopeView.styleTool
348+ scopeStyle: scopeView.scopeStyle
351 onBackClicked: scopeView.backClicked()
351 onBackClicked: scopeView.backClicked()
@@ -357,7 +357,7 @@ FocusScope {
357 objectName: "previewListView"
357 objectName: "previewListView"
358 visible: x != width
358 visible: x != width
359 scope: scopeView.scope
359 scope: scopeView.scope
360− styleTool: scopeView.styleTool
360+ scopeStyle: scopeView.scopeStyle
361 width: parent.width
361 width: parent.width
362 height: parent.height
362 height: parent.height
363 anchors.left: categoryView.right
363 anchors.left: categoryView.right