@@ -21,7 +21,7 @@ Item {
2121 id: root
2222 property var department: null
2323 property var currentDepartment: null
24− property var styleTool: Object({ foreground: "grey", background: "transparent" })
24+ property var scopeStyle: Object({ foreground: "grey", background: "transparent" })
2525 signal enterDepartment(var newDepartmentId, bool hasChildren)
2626 signal goBackToParentClicked()
2727 signal allDepartmentClicked()
@@ -30,7 +30,7 @@ Item {
3030 implicitHeight: flickable.contentHeight
3131
3232 Rectangle {
33− color: Qt.colorEqual(root.styleTool.background, "transparent") ? "white" : root.styleTool.background
33+ color: Qt.colorEqual(root.scopeStyle.background, "transparent") ? "white" : root.scopeStyle.background
3434 anchors.fill: parent
3535 }
3636
@@ -82,7 +82,7 @@ Item {
8282 name: "back"
8383 height: units.gu(2)
8484 width: height
85− color: root.styleTool.foreground
85+ color: root.scopeStyle.foreground
8686 }
8787
8888 Label {
@@ -92,7 +92,7 @@ Item {
9292 leftMargin: units.gu(0.5)
9393 }
9494 text: department ? department.parentLabel : ""
95− color: root.styleTool.foreground
95+ color: root.scopeStyle.foreground
9696 }
9797
9898 Rectangle {
@@ -103,7 +103,7 @@ Item {
103103 leftMargin: units.gu(2)
104104 rightMargin: units.gu(2)
105105 }
106− color: root.styleTool.foreground
106+ color: root.scopeStyle.foreground
107107 opacity: 0.2
108108 height: units.dp(1)
109109 }
@@ -124,7 +124,7 @@ Item {
124124 }
125125 text: department ? (department.allLabel != "" ? department.allLabel : department.label) : ""
126126 font.bold: true
127− color: root.styleTool.foreground
127+ color: root.scopeStyle.foreground
128128 }
129129
130130 Rectangle {
@@ -135,7 +135,7 @@ Item {
135135 leftMargin: units.gu(2)
136136 rightMargin: units.gu(2)
137137 }
138− color: root.styleTool.foreground
138+ color: root.scopeStyle.foreground
139139 opacity: 0.2
140140 height: units.dp(1)
141141 }
@@ -160,7 +160,7 @@ Item {
160160 leftMargin: units.gu(2)
161161 }
162162 text: label
163− color: root.styleTool.foreground
163+ color: root.scopeStyle.foreground
164164 }
165165
166166 Icon {
@@ -172,7 +172,7 @@ Item {
172172 height: units.gu(2)
173173 width: height
174174 name: hasChildren ? "go-next" : "tick"
175− color: root.styleTool.foreground
175+ color: root.scopeStyle.foreground
176176 visible: hasChildren || isActive
177177 }
178178
@@ -184,7 +184,7 @@ Item {
184184 leftMargin: units.gu(2)
185185 rightMargin: units.gu(2)
186186 }
187− color: root.styleTool.foreground
187+ color: root.scopeStyle.foreground
188188 opacity: 0.1
189189 height: units.dp(1)
190190 visible: index != department.count - 1