19import Lomiri.Components 1.3
20import Lomiri.Components.Popups 1.3
21import Dekko.Components 1.0
23import Dekko.Mail.API 1.0
24import Dekko.Lomiri.Components 1.0
30 contentWidth: units.gu(25)
43 visible: folder.supportedActions & MessageSet.SyncAction
44 description: qsTr("Sync folder")
45 actionIcon: Icons.SyncIcon
47 MailboxActions.syncStandardFolders(folder.folderType)
48 PopupUtils.close(actionPopover)
52 visible: folder.supportedActions & MessageSet.ExportPending
53 description: qsTr(
"Send pending")
54 actionIcon: Icons.SendIcon
56 MessageActions.sendPendingMessages()
57 PopupUtils.close(actionPopover)
61 visible: folder.supportedActions & MessageSet.MarkAsRead
62 description: qsTr(
"Mark folder read")
63 actionIcon: Icons.MailReadIcon
65 MailboxActions.markStandardFoldersRead(folder.folderType)
66 PopupUtils.close(actionPopover)
75 visible: folder.supportedActions & MessageSet.EmptyTrash
76 description: qsTr(
"Empty trash")
77 actionIcon: Icons.DeleteIcon
79 MailboxActions.emptyTrash()
80 PopupUtils.close(actionPopover)