On Monday, 28 September 2015 19:39:10 CEST, Peter Bočan wrote:
Hello guys, I do wonder, how can I iterate through the attachments and download them? The core works smoothly and so I’m really happy that it just works :).
Walk the tree of QModelIndex indexes, "somehow" find out which are attachments (this is a hard problem because there are several funny clients which ignore standards) and act on them. As a hint, grep the source tree for word "Attachment" to find out how it's done in the Trojita's GUI.
Cheers, Jan -- Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/
