Commit 11c5ed4f authored by Tobias Koenig's avatar Tobias Koenig
Browse files

Add homeClicked() signal to know when the user

has clicked on 'Home'

svn path=/trunk/KDE/kdepim/runtime/; revision=1193295
parent 81d3c173
......@@ -57,12 +57,18 @@ Item {
property bool clickToBulkAction : true
signal selectedClicked()
signal homeClicked()
Item {
id :dragOverlay
anchors.fill : parent
}
Connections {
target: breadcrumbView
onHomeClicked: homeClicked()
}
BreadcrumbNavigationView {
id : breadcrumbView
anchors.fill : parent
......
......@@ -49,6 +49,7 @@ Item {
signal childCollectionSelected(int row)
signal breadcrumbCollectionSelected(int row)
signal homeClicked()
SystemPalette { id: palette; colorGroup: "Active" }
ListModel {
......@@ -276,6 +277,7 @@ Item {
function completeHomeSelection() {
selectedItemSelectionModel.clearSelection();
homeClicked()
// TODO: Remove:
breadcrumbCollectionSelected(breadcrumbTopLevel._transitionSelect);
breadcrumbTopLevel._transitionSelect = -1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment