Migrate to KF6 Page actions

This commit is contained in:
Bart De Vries 2023-04-25 13:02:23 +02:00
parent b1414a18f2
commit 8c06247e16
5 changed files with 5 additions and 10 deletions

View File

@ -39,8 +39,7 @@ Kirigami.ScrollablePage {
} }
} }
// TODO: KF6 replace contextualActions with actions actions: pageActions
contextualActions: pageActions
GenericEntryListView { GenericEntryListView {
id: episodeList id: episodeList

View File

@ -63,8 +63,7 @@ Kirigami.ScrollablePage {
} }
} }
// TODO: KF6 replace contextualActions with actions actions: pageActions
contextualActions: pageActions
header: Loader { header: Loader {
anchors.right: parent.right anchors.right: parent.right

View File

@ -64,8 +64,7 @@ Kirigami.ScrollablePage {
} }
} }
// TODO: KF6 replace contextualActions with actions actions: Kirigami.Action {
contextualActions: Kirigami.Action {
id: searchActionButton id: searchActionButton
icon.name: "search" icon.name: "search"
text: i18nc("@action:intoolbar", "Search") text: i18nc("@action:intoolbar", "Search")

View File

@ -136,8 +136,7 @@ Kirigami.ScrollablePage {
} }
} }
// TODO: KF6 replace contextualActions with actions actions: pageActions
contextualActions: pageActions
header: Loader { header: Loader {
anchors.right: parent.right anchors.right: parent.right

View File

@ -46,8 +46,7 @@ Kirigami.ScrollablePage {
} }
} }
// TODO: KF6 replace contextualActions with actions actions: pageActions
contextualActions: pageActions
GenericEntryListView { GenericEntryListView {
id: queueList id: queueList