@@ -31,6 +31,8 @@ Item {
31 signal storeClicked()
31 signal storeClicked()
32 signal requestFavorite(string scopeId, bool favorite)
32 signal requestFavorite(string scopeId, bool favorite)
34 ScopeStyle {
36 ScopeStyle {
35 id: scopeStyle
37 id: scopeStyle
36 style: { "foreground-color" : "gray",
38 style: { "foreground-color" : "gray",
@@ -62,9 +64,16 @@ Item {
62 title: i18n.tr("My Feeds")
64 title: i18n.tr("My Feeds")
63 width: parent.width
65 width: parent.width
64 showBackButton: true
66 showBackButton: true
67+ backIsClose: root.state == "edit"
65− storeEntryEnabled: true
68+ storeEntryEnabled: root.state == "browse"
66− searchEntryEnabled: true
69+ searchEntryEnabled: root.state == "browse"
72+ root.state = "browse"
67− onBackClicked: root.backClicked()
74+ root.backClicked()
68 onStoreClicked: root.storeClicked();
77 onStoreClicked: root.storeClicked();
@@ -91,10 +100,12 @@ Item {
91 item.isFavoriteFeeds = index == 0;
100 item.isFavoriteFeeds = index == 0;
92 item.scopeStyle = scopeStyle;
101 item.scopeStyle = scopeStyle;
93 item.model = Qt.binding(function() { return results });
102 item.model = Qt.binding(function() { return results });
103+ item.editMode = Qt.binding(function() { return root.state == "edit" });
95 Connections {
105 Connections {
96 target: item
106 target: item
97 onRequestFavorite: root.requestFavorite(scopeId, favorite)
107 onRequestFavorite: root.requestFavorite(scopeId, favorite)
108+ onRequestEditMode: root.state = "edit";